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

Scene Management

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.