Again, error null reference!

I have gone back to a similar topic of discussions like Lecture: Singleton Scorekeeper - NullReferenceException - #16 by miked-333 and a few more…

but It still didn’t work. I have no coding background at all before this course, so I’m not sure what to do, please help!


First, check that you have assigned a value to scoreText in the inspector. Also check that there is a ScoreKeeper somewhere in the hierarchy. If both these are fine, check if you don’t have a rogue UIGameOver component somewhere that does not have the text assigned

1 Like

still couldn’t make it T^T :sob: :persevere:

Screenshot 2566-04-21 at 20.12.29
Screenshot 2566-04-21 at 20.12.25

also checked.

ScoreKeeper? Is there one in the scene?

1 Like

Ohhhhh… ok… got it now! lol

thank you so much! :sweat_smile:

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

Privacy & Terms