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
- Window preview appears on a different monitor when undocking and dragging a window with a high-resolution monitor set up on the right and a low-resolution monitor on the left.
- Probe Volume Baking Set Reference Documentation is missing
- Crash on RendererScene::NotifyInvisible when entering Play mode after undoing a change within the scene with Ctrl+z
- [iOS] Final Image misaligned when using "ScalableBufferManager.ResizeBuffers" to resize
- GameObjects are not updating when Materials and Cubemaps are updated from Environmental Reflections
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.