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
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
This is a duplicate of issue #810327