Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.1f1
Issue ID
976843
Regression
No
SceneManager.SetActiveScene cannot be called inside SceneManager.sceneLoaded callback
Reproduction steps:
1. Open the attached project "SceneActivationBug.zip";
2. Open the "StartingScene";
3. Click Play in Unity;
4. Press the "Switch Scenes" button in the game window;
Expected results: the scene will be loaded successfully and SceneManager.SetActiveScene will show "True" in the console;
Actual results: SceneManager.SetActiveScene will print "False" to the console;
Reproduced on: 5.6.4p3, 2017.1.2p4, 2017.2.1f1, 2017.3.0f2, 2018.1.0a7.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
This is a duplicate of issue #810327