Object reference not sent into an instance of an object error

Is there a way to get past this error as it stated that the copy paste version of scoreText.ext is an error by itself

Is your Score hooked up in the inspector?

how do I check that it is?

It is actually I thinkunity hub error inspector

1 Like

That sure is odd? It’s losing the reference for some reason, start method doesn’t throw any errors?

Well, the score updates and the code works during level 1, for some reason however, the blocks will not break at all during level 2

You’re probably losing the reference when you move to the new scene, make sure it’s all hooked up properly in each scene.

Yeah, I found my mistake. I had to go to the other level and apply the score updates code to it as it has not been added yet. Thank you.

No problem, glad you got it solved!

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

Privacy & Terms