Search Issue Tracker
Fixed in 5.6.0
Votes
1
Found in
5.4.0f3
Issue ID
818573
Regression
No
OnSceneLoaded always called with Scene.isLoaded == false
1. Open user attached project
2. Play scene, pay attention to console output.
Notice that when OnSceneLoaded() is called value of scene.isLoaded = false;
Reproduced with 5.4.0f3, 5.4.0b8
Note: This applies to both SceneManager.LoadScene as well as SceneManager.LoadSceneAsync.
Comments (2)
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
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
- “Callback unregistration failed. Callback not registered.” is thrown when changing layouts with two "Font Asset Creator" windows docked
laurentlavigne
Apr 13, 2021 22:10
and isLoaded sometimes is false when the scene is loaded additively
this happens in 2020.1.17
moose0847
Feb 07, 2021 18:18
This issue seems to be present again in 2020.2.3 (possibly earlier). Additionally, scene.isloaded is still true in SceneManager.onSceneUnloaded event.