Search Issue Tracker

By Design

Votes

8

Found in

5.3.0f4

Issue ID

753656

Regression

No

[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 (24)

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

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

  3. dario_zubovic

    Mar 13, 2017 12:33

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

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

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.