Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.1.0b4

Issue ID

697647

Regression

No

Destroying gameObjects while iterating them leads to crash

Scripting

-

> Fastest workaround for this that I can think of is something like:

or just removing "yield return null" from DestoryRoots method.

But crash is there.
Here is a script that crashes Editor
http://pastebin.com/CDmGKfr3

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.