Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X

Votes

2

Found in

2020.3

2021.1

2021.1.1f1

2021.2

Issue ID

1326173

Regression

No

CreateGUI gets executed before Awake and OnEnable when opening a project with a custom window already open

Scripting

-

How to reproduce:
1. Open the attached project "CreateGUI Execution Order.zip"
2. Observe the Console window

Expected result: CreateGUI is called before Awake and OnEnable
Actual result: CreateGUI is called after Awake and OnEnable

Reproducible with - 2020.3.5f1, 2021.1.4f1. 2021.2.0a14
Could not test (errors) - 2018.4.33f1, 2019.4.24f1

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a2

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.6f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.25f1

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.