Search Issue Tracker
By Design
Votes
8
Found in
5.3.0f4
Issue ID
753656
Regression
No
[LoadSceneAsync] allowSceneActivation flag is ignored in Awake()
Repro steps:
1) Open the project and scene Awake in it
2) Play and notice that exception appeared (ERROR ERROR ERROR)
3) Stop and load scene Update
4) Play - notice there is no exception
5) Stop - notice the exception appears
Workaround: Use Start() or Update() to load the scene
Repro in: 5.4.0b1; 5.3.1p1; 5.2.3p3; 5.1.4f1
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
MrLucid72
Jul 09, 2017 02:10
(@Unity: You guys should at least add this to the docs, if it's not fixed after 2 years)
MrLucid72
Jul 09, 2017 02:10
Still happens in 5.6.2p2 -- I thought I was crazy. Now I know it's just a bug ;) put it in Start() as a workaround and it works.
dario_zubovic
Mar 13, 2017 12:33
Flag is ignored in 5.5.1p3 as well. Works fine when called inside Start().
ZZantal
Feb 24, 2017 13:39
It seems to be ignored no matter what.
I have a button that loads a scene in async mode.
I set the flag to false, and it just keeps loading the new scene.