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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
This is a duplicate of issue #810327