76,996 questions
Tooling
0 votes
0 replies
6 views
Does Unreal Engine support Android XR, and what is the correct setup to use it?
I am researching whether Unreal Engine can be reliably used for Android-based XR before starting a new project. The documentation is unclear and split between ARCore, OpenXR for Android, and vendor ...
0 votes
0 answers
28 views
VS Code doesn't Recognize Unity Classes
For two days now, I've been having a rather strange problem. The MonoBehaviour class isn't recognized by VS Code, with the following error: Error while loading [...]: Exception thrown: System....
-1 votes
0 answers
39 views
HLSL URP 17.0 PBR functions do not render light
Unity provides their PBR lighting function with UniversalFragmentPBR, and UniversalFragmentBlinnPhong, but for me, it doesn't seem to render the light. I have been following a couple of books on ...
0 votes
0 answers
50 views
Mobile game Test version is not visible on any android device. ( Unity- Android)
I recently started working on a Unity mobile game (Android). I upload my builds to Google Play Console for testing and share the test link with my testers. They can install the app from the Play Store ...
Best practices
0 votes
3 replies
62 views
How to not write a Firestore Converter for each type. (Firestore + Unity / C#)
I am using Firestore and Unity, I want to be able to serialize a Unity class, say Vector2Int so I write a Vector2IntConverter(FirestoreConverter<Vector2Int>). When I upload my DTO, say: [...
-7 votes
0 answers
73 views
I can't move while jumping in Unity [closed]
using UnityEngine; public class PlayerLocomotion : MonoBehaviour { PlayerManager playerManager; AnimatorManager animatorManager; InputManager inputManager; Vector3 ...
-6 votes
0 answers
34 views
AdMob App Open Ad overlaping Interstitial and Rewarded Ads before they are closed [closed]
So im using Admob AOA, Inter and Reward ads in my Unity game project but the problem is when Interstitial or Rewarded ad is displaying, if i clicked on it to navigate to the ad page and return to the ...
-3 votes
0 answers
74 views
How to avoid bullets shooting off-center when aiming through a sniper scope camera? [closed]
How do you handle this typically? My Main Camera is in default position at my players head. My SniperScope Camera is positioned either at the end of the scope lens or at the guns muzzle, which I got ...
1 vote
0 answers
38 views
How to check for possible collisions using gizmos
I am making a clone of the game "Arrow Out." I am not sure if this is even the correct way but I am thinking of using gizmos to check if there is another arrow in the path of the clicked ...
Advice
0 votes
2 replies
44 views
Better AI Behaviour
I am currently working on AI Behaviour in a Beat-Em-Up game in Unity for my beat-em-up project, I am currently using my own statemachine system (with states that don't inherit from monobehaviour) to ...
0 votes
1 answer
63 views
Firebase causing Unity Android build to fail
====== cocoapods-1.16.2 Unity 6000.0.41f1 Firebase 13.4.0 OSX 15.5 ISSUES: Android: not building > Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'. > Could ...
-1 votes
0 answers
25 views
Unity initiate issues
In my Unity Project when my game runs my world item prefab initiates sprites that don't show on my inventory display only the canvas that can't be seen on screen and it doesn't spawn any collectable ...
0 votes
0 answers
31 views
Unity 6 - Android - HTTPListener
I am trying to create an HTTP listener in my game application to be run on Android. I have created this script that receives API requests from the network and do some stuff in the game. using ...
Advice
1 vote
1 replies
48 views
Looking for a better way to handle animation trigger calling in Unity using a Blend Tree and object instantiation
I'm fiddling around with a 2D side-scroll game using C# in Unity. Basically, I have a method that gets called when I hit an animation trigger on the animator and that method instantiates a GameObject (...
-1 votes
0 answers
44 views
Unity Prefab Type Mismatch
I have tried for days to troubleshoot but only met with persisting Type Mismatch. I am working on a flappy bird game and i wanted to make the pipes go faster as the score increases so i made a [...