Big problem

for some reason my score doesn’t show up on the game over screen, and i get rapid nullreferenceexception errors about line 22 in my text script. does anyone know why?

Try adding.

gameObject.SetActice(false);

just before Destroy(gameObject);

Also rename “awake” to “Awake”

Your Awake function isnt running (needs to be capitalized).

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

Privacy & Terms