Search Issue Tracker

Duplicate

Votes

0

Found in

5.4.3f1

Issue ID

943459

Regression

No

Crash in GameObject_Get_Custom_PropTransform when calling Object.DestroyImmediate from MonoBehaviour.Awake()

Scripting

-

How to reproduce:
1. Open the attached project
2. Open the "primary level" scene
3. Press Play

Actual result: Unity crashes.
Expected result: Unity doesn't crash.

Reproducible with: 2017.3.0a4, 2017.2.0b7, 2017.1.0p3, 5.6.3f1, 5.5.4p2, 5.4.6f1.

Note: The crash is caused by "DestroyImmediate(gameObject);" line in EnemySelfDelete.js script.

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.