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()
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
This is a duplicate of issue #900003