Null Reference Occurred In Mobile Build but not in unity editor
I Have a list of waypoints which is gameobject(Monobehaviour). And it contains neighbor and prev waypoints. The List was already populated, It was not populated at runtime.
Enemy prefabs not damaging the Player
The enemy itself damages the player just fine but whenever my enemy spawner spawns an enemy prefab it does not damage the player at it gives this error:
(Unity) Enemy prefabs not damaging the Player
The enemy itself damages the player just fine but whenever my enemy spawner spawns an enemy prefab it does not damage the player at it gives this error:
How to get collision position for one time not every frame?
Hiii, I want it to give me the position once when I get the TargetPos.position from the collision
How to make an Array of Texts read from a String
I’m trying to create a quiz game, exactly like how Jeopardy works. Right now, I’m attempting to make text objects from the top row each display a different item from a String, which lists all the categories, which if I can do that, it would help give an idea with the next step, getting text from a prefab to show a set question and answer based on which button the player chooses.
Unity keep non Mono Behaviour inspector values
I’m working with Unity and have encountered an issue related to serialized non-MonoBehaviour classes. Specifically, I have a PlayerController class that derives from MonoBehaviour and contains a public field of type GroundDetection. The GroundDetection class does not derive from MonoBehaviour and is serialized in the Unity Inspector.
Forward and Backward movement Visual Scripting not working together
I have an issue while working with visual scripts, I’m learning it and new to it so when I created the forward and backward movement in the visual scripts it is working separately but not together as it keeps throwing the message that the value of has to be assigned and cannot be set dynamically
Camera Won’t Shake When Enemy Attacked
I want my camera shake when isDamaging = true at EnemyDamage script but It wont happent
I dont even get why theres a problem with that stuff it doesnt make sense its looking like %100 true
when I printed the isDamaing its also says it =true but dont work
How can I force enable V-Sync in Unity?
Im using Unity Engine.
How to destroy a tile gradually unity
Im working on an AR enless runner game by locking the runner’s position and let the tile moving backward