Search Issue Tracker

By Design

Votes

0

Found in

2019.2.0a10

2019.2.0b4

2019.3.0a1

Issue ID

1160662

Regression

No

Awake and Start does not appear in the same frame when running a test and pausing the Editor immediately

Scripting

-

How to reproduce:
1. Open attached project "AwakeStartScene.zip" and scene "To2"
2. Open Window -> General -> Test Runner
3. In Test Runner window, switch to "PlayMode"
4. Play "AAS" or "Normal" test and immediately press and hold Editor pause button
5. Press Editor next frame button (called "Step") until the program ends
6. Observe Console window

Expected result: Awake and Start are called on the same frame (this happens when running test without pausing the Editor)
Actual result: Awake and Start methods are called one frame apart

Reproducible with: 2019.2.0a10(after fixing package manager errors), 2019.2.0b6, 2019.3.0a6
Could not test with: 2019.2.0a9 and older with automatic tests due to assembly errors

  1. Resolution Note:

    There are no guarantees that the Awake and Start will be called on the same frame.

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.