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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #900003