Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.6.0f3
Issue ID
924302
Regression
No
Unity crashes in GetComponentWithScript when object is parented to the object that is being destroyed
To reproduce:
1. Open the project, attached by the user (FrogJam.zip)
2. Open the "TestScene" scene
3. Enable GameMap (Auto) game object
4. Enable GameLevel01 game object
5. Enter Play mode
6. Exit Play mode
Expected: Editor does not crash when new objects are spawned in OnDestroy and parented to an object that is being destroyed
Reproduced in 5.6.0f3, 5.6.2f1, 2017.1.0b1
Did not reproduce in 2017.1.0b2, 2017.1.0b10, 2017.2.0b1
Did not test for regression, due to us not supporting backwards compatibility
Fixed in 2017.1.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment