This error showed up when I pressed play. What does it mean?

image

Hi,

NullReferenceException / ArgumentNullException means that a reference (“link”) to an instance is missing. Double click on the error message to see to which line in your code it is referring. If you exposed a field in the Inspector, make sure that it’s not empty.

At the moment, the error message does not reveal much information, so nobody is able to tell why and where it was thrown.

If you suspect that the error does not stem from what you did in your code, try to restart Unity. Sometimes, there are internal problems.

I get this error a lot when I’ve been running Unity for a while. A restart fixes it for me

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms