Scene Load/Unload Fails to Reload

  1. StartGame - LoadScene(X, Additive)
  2. Teleporter 1 - LoadScene(Y, Additive)
  3. sceneLoaded callback triggers - Teleport player to Y, UnloadSceneAsync(X)
  4. Teleporter 2 - LoadScene(X, Additive)
  5. sceneLoaded callback triggers - Attempt to teleport player to X, UnloadSceneAsync(Y)

Scene is not loaded, player falls through the world.

It seems that once I’ve unloaded a scene, when I try to load it again, it fails.


I didn’t remove the sceneLoaded callback from step 3, so step 5 fired both callbacks, and unloaded both scenes. Resolved!