Search Issue Tracker

Active

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2019.1.0a1

2019.1.0f2

2019.2.0a1

Issue ID

1146863

Regression

No

IEnumerator is automatically called when named Main()

Scripting

-

Reproduction steps:
1. Open the attached project inside of "Corutinas.zip"
2. Open and Play "SampleScene"

Expected result: IEnumerator Main() does not automatically call
Actual result: IEnumerator Main() plays on Scene Play

Reproduces on: 2017.4.25f1, 2018.3.14f1, 2019.1.0f2, 2019.2.0a13

Note:
- IEnumerator Main() is called after the Start() event

Comments (1)

  1. 1efc2ddd710fe34bbc1053cd4a82bafc?d=mm

    FWCorey

    Apr 30, 2019 23:35

    This could actually be a feature if it was documented

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.