Posts by Farias • 1 point
1 post
-
-1
votes2
answers58
viewsA: Object Reference not set to an instance of Object
The variable Ant must be assigned in the Inspector. The Gameobject referenced in the previous variable (Ant) must have the ScriptName. If any reference is missing it will give the error mentioned.…