Search Issue Tracker

By Design

Votes

0

Found in

4.1.2f1

Issue ID

542168

Regression

No

Coroutine never finishes if run from a script on a deactivated or destroyed object

Scripting

-

If you run a coroutine from a script that is on an object that gets deactivated or destroyed, the coroutine will never finish.

Reproduced on 4.2.b2
See user's description
1 Open project
2 Open scene "test" and press Play
3 Press "1" - the cube will be Hitted and jumped
Press "2" or "3 " - the cube will never be Hitted and jumped

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.