Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.4.0b21

Issue ID

807253

Regression

No

Does not stop coroutine when it throws exception in MoveNext at first frame

Scripting

-

Steps to reproduce:
1. Open attached project ("coroutines.zip")
2. Open "Main" scene
3. Run the project
4. Press "Run Invalid Coroutine" button
5. Press "Run Custom Coroutine" button
6. Notice how Unity does not stop coroutine when it throws exception in MoveNext at first frame (RunInvalidCoroutine Button) (png attached)

Note: Unity stops a coroutine in second frame (Run Custom Coroutine button)

Reproduced with: 5.3.0f4, 5.3.5p5, 5.4.0b22

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.