Search Issue Tracker

By Design



Found in


Issue ID




[LoadSceneAsync] allowSceneActivation flag is ignored in Awake()

Scene Management


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

Comments (21)

  1. unity_a-oE3e5lP6Z1zA

    Jul 24, 2019 19:54

    I'm going to be bumping this, as it appears that the bug is not fixed yet in the editor. I'm using a coroutine to start loading a scene async, but .allowSceneActivation = false is being ignored.

  2. jesper42

    Jul 04, 2019 10:36

    This is still an issue (at least in the editor).

    Please fix or mention it in the documentation !

  3. UDN_9516e7e1-43be-4c64-b65b-d5f3668b3a1e

    Jun 02, 2019 18:21

    I have it in 2018.3.12f1.

    I added a small artifical delay, it helped.

  4. nachobeard

    Mar 08, 2019 12:04

    how is this not mentioned in the documentation?

  5. Cpt-Crouch

    Sep 10, 2018 14:50

    I still got this problem, even this is put in a Start or an Update... Don't know what's happening.

  6. Haapavuo

    Nov 18, 2017 09:56

    Add this to the god d*mn documentation! I spent an hour because of this "design flaw"!

  7. rasca7

    Aug 11, 2017 18:18

    Please guys, if this is by design at least document it! It would save us lots of time!

  8. 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)

  9. 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.

  10. dario_zubovic

    Mar 13, 2017 12:33

    Flag is ignored in 5.5.1p3 as well. Works fine when called inside Start().

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.