Search Issue Tracker
Fixed in 2020.1.X
[Scripting] IEnumerator is automatically called when named Main()
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
- IEnumerator Main() is called after the Start() event
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Animator with nested avatar root show missing properties in the Animation Window
- System.Threading.Task tasks cause stall when used in WebGL
- [Package Manager] Access denied when installing some packages
- SerializedProperty.DataEquals returns true for two strings that are different
- Prefab is glitchy when editing in Prefab Mode in a custom UI Environment