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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.