-
Notifications
You must be signed in to change notification settings - Fork 348
Open
Description
Hello everyone, I've been struggling for few days with a null ref when I want to reload or change scene.



I feel like the script keeps running when I change scenes. I tried to destroy and re instantiate or disable and enable my script for my planet and my camera but still the same error.
The error seems to come from the PlanetEffects.cs because when I remove it, the error disappears but I have no more ocean or atmosphere.
I also noticed that in runtime, when I refresh PlanetsEffect (line break and save) the error disappears and everything works again.
I'm pretty new to gamedev and I'm sure I'm missing a concept or something.
If anyone can enlighten me that would be great!
I hope I was clear in my explanation.
in advance, thank you
Metadata
Metadata
Assignees
Labels
No labels