#Thread
1 messages · Page 1 of 1 (latest)
so "main" is null. Probably because your awake function is grayed out on GameOver. Why is it grayed out? What's the warning on it?
Awake being private shouldn't cause it to be grayed out and have a warning
@noble smelt let's go to a thread so it doesn't clutter up the chat, a lot of ppl r asking questions
can you just hover over Awake and tell me what it says?
huh.
can you open your package manager?
ok
then search "Visual" in the top right (make sure you're searching In Project) and update both of those (you can see mine needs updating too)
oh interesting
im updating to 2.0.20 rn
if it breaks on mine, then it's a bug with 2.0.20
no didn't break...
huh
can you put a debug log statement in that awake function to see if it's even being called
oki! one sec
@turbid pond you'll probably be more help, i see you're on.
don't ping people into questions
ok, guess he doesn't want to help
nope, not being called at all
it IS attatched to a gameobject, right?
I forgot this was #💻┃code-beginner, I should have asked
probably
set it to active, then in Start() method set it to inactive if you want it inactive
just see what happens