I wanted to use EditorSceneManager.OpenScene(EditorSceneManager.GetSceneByBuildIndex(0).path) but this will return null, (I do have scenes in my build index btw)
Is there any way I can use EditorSceneManager.OpenScene with build index?
I’m a bit confused to why you’re going through all that work when you can simply do SceneManager.LoadScene(0); replacing 0 with the scene build index.
Or if it is an editor mode scene, do EditorSceneManager.LoadScene(0);