Search Issue Tracker

Not Reproducible

Votes

0

Found in

5.6.0f3

Issue ID

924302

Regression

No

Unity crashes in GetComponentWithScript when object is parented to the object that is being destroyed

Scripting

-

To reproduce:

1. Open the project, attached by the user (FrogJam.zip)
2. Open the "TestScene" scene
3. Enable GameMap (Auto) game object
4. Enable GameLevel01 game object
5. Enter Play mode
6. Exit Play mode

Expected: Editor does not crash when new objects are spawned in OnDestroy and parented to an object that is being destroyed

Reproduced in 5.6.0f3, 5.6.2f1, 2017.1.0b1
Did not reproduce in 2017.1.0b2, 2017.1.0b10, 2017.2.0b1
Did not test for regression, due to us not supporting backwards compatibility

Fixed in 2017.1.0b2

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.