I am facing an issue with a NullReferenceException in my code. I've created a LevelManager script to manage the different scenes of my game. Inside this file ScoreKeeper object is called. This ScoreKeeper is managed by a Singleton pattern to ensure a connection between the different scenes. Everything worked so far, until I tried to call the ResetScore method (when launching a new game (to avoid starting the game from the previous score)).
What I've already done :
- Ensure a ScoreKeeper prefab is available in each Scene
- Ensure the Awake() method is called
- Manage the Singleton Pattern
Everthing worked perfectly when switching from from GameOver Scene to MainMenu Scene, but the bug appear when trying to load the Game Scene
Below is a screenshot of the object's list before trying to reach the Game Scene :
I really don't understand why this issue appear as a ScoreKeeper is well visible in the DontDestroyOnLoad section :(
Here is the error message that pop's up :
Thanks in advance for your clues





Awakemethod is being called before theLoadGamemethod.