ScriptableObject-Architecture icon indicating copy to clipboard operation
ScriptableObject-Architecture copied to clipboard

Fix SceneIndex different from index in build settings which can cause exceptions when using LoadScene(int)

Open Monsoonexe opened this issue 4 years ago • 0 comments

If a scene was index 3 visibly in the build index, but a scene above it was disabled, then the index shown in the SceneVariable would be off by 1 and cause problems when loading by integer.

Monsoonexe avatar Oct 19 '21 09:10 Monsoonexe