Search Issue Tracker

Fix In Review for 2021.2.X

Fix In Review for 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

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.