Ball doesnt push

you will see the problem can you be able to help me please , when i put the background doesnt , it goes over even when i do the layers

Your browser does not support the video tag.
Powered by TinyTake Screen Capture

Hi Rafi,

NullReferenceException means that a reference (“link”) to an instance is missing. If you exposed a field in the Inspector, make sure that it’s not empty.

where can i do that ?

Double click on the error message. Are there any variables in that line? If so, check where in your script an object gets assigned to the variables. If there is a variable that has [SerializeField] in front of its declaration, it is very likely that you were supposed to assign the object in the Inspector.

Privacy & Terms