Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.4.X
Votes
0
Found in
2018.2.18f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1121506
Regression
No
Crash when Instantiating new GameObject with the parent of the GameObject that is being destroyed and exiting Play Mode
How to reproduce:
1. Open user attached project "numbers1.zip"
2. Enter Play Mode
3. Exit Play Mode
Expected result: Editor does not crash
Actual result: Editor crashes
Reproducible with - 2018.3.3f1, 2019.1.0b1, 2019.2.0a3
Not Reproducible with - 2017.4.19f1
Fixed in 2019.2.0a6
Notes:
1) Unity does not crash if GameObjects are destroyed in-game with the same OnDestroy
2) On 2017.4 instead of crashing it throws "MissingReferenceException: The Object of type 'GameObject' has been destroyed but you are still trying to access it"
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note (fix version 2018.4):
Fixed in 2018.4.36f1