Search Issue Tracker

Fixed

Votes

0

Found in

5.4.0b15

Issue ID

793867

Regression

No

Crash if DestroyImmediate called under OnPreRender

Scripting

-

Steps to reproduce:
1. Open attached project
2. Open scene "test" and select "GameObject" in the hierarchy
3. Check "Crash Me" check box which is under the "NewBehaviourScript" in the inspector
4. Observe crash

Note: sometimes crash happens only if you enter the playmode after "Crash Me" check box is checked
Reproduced: 5.1.4f1, 5.2.4f1, 5.3.4f1, 5.4.0b17

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.