Search Issue Tracker
Fixed in 2019.1.X
Votes
2
Found in
2017.1.0b7
Issue ID
919832
Regression
No
DetachChildren should fail nicely when called during activation/deactivation
Reproduction Steps:
1. Import attached project.
2. Open "DetachBug" scene.
3. Activate Play mode.
4. Disable Play mode.
Result: Unity freezes.
Note: According to the user, the bug can also occasionally crash the editor.
Reproducible with: 5.5.3p4, 5.6.1p2, 2017.1.0b9, 2017.2.0a3
Comments (1)
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
- “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
Angel-of-Time
Mar 04, 2018 18:43
[ExecuteInEditMode]
private void OnDisable()
{
transform.DetachChildren();
}
I started in Edit Window. (Not in play mode.) Parent has 2 children. Everytime Unity freezes.