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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
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.