NullReferenceException Cannot double click to that error!

Hi there!

I found this error message
“NullReferenceException: Object reference not set to an instance of an object”

But if I double click into it’s message, it won’t go anywhere I stuck at this error message forever…
I don’t know which line of code has an error.

anyone used to has this issue?
please advice me…

Thanks!!!

The console window should have a text field that shows more information about the error when you click on it, namely, the call stack that caused the error.

Otherwise it’s just a bog standard null ref, and best to refer to the information here: https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/

1 Like