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
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
- Undoing the creation of the "Button - TextMeshPro" GameObject only removes Canvas and EventSystem GameObjects
- NullReferenceException errors are thrown when entering the Play Mode when ShaderGraph window is focused
This is a duplicate of issue #900003