Search Issue Tracker

Fixed in 5.1.0

Votes

1

Found in

4.5.1f3

Issue ID

626215

Regression

No

Documentation error in Scripting Reference's Coroutine page

http://docs.unity3d.com/ScriptReference/Coroutine.html
The example code given in scripting reference is wrong. Coroutines cannot be called directly, instead, in Example coroutine, yield should look like this:
yield return StartCoroutine("WaitAndPrint");

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.