Hi,
I’m following a tutorial (the Roguelike 2D tutorial) and I keep getting this error
NullReferenceException: Object reference not set to an instance of an object
Completed.GameManager.OnSceneLoaded (Scene arg0, LoadSceneMode arg1) (at Assets/Completed/Scripts/GameManager.cs:69)
UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (Scene scene, LoadSceneMode mode) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/SceneManagerBindings.gen.cs:230)
I’m not even using this script. It’s in the “Completed” folder of the tutorial, it’s just there for verification purposes, i’ve been going around it, the game still works but I feel this could escalate.
So is this normal? What should I do, just delete all the completed scripts?