NullReferenceException in my player spawner somteimes triggers, sometimes doesn't depending on entry

Are you getting any warnings about non-root objects being marked DontDestroyOnLoad?

You can only mark top-level objects, eg, not child objects.

If you don’t see warnings, make sure they’re enabled:

Make sure your log console selector buttons are enabled. See this graphic:

1 Like