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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #900003