Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.8f1
Issue ID
1094254
Regression
No
Unity Editor crashes when entering to Play mode after applying changes to Prefab and deleting it from Hierarchy
To reproduce:
1. Download project "LifeClient_DailyGoals - Copy (3).zip" and open in Unity
2. Open "InitialisationScene" scene
3. Expand to Root/UGUI/Canvas/Canvas_Camera
4. Drag Panel_Goals prefab, found in the root Assets folder, to be a child of Canvas_Camera
5. Expand to Panel_Goals/Daily Pane/Goal List/EnhancedScrollView/Content
6. Child DailyGoalCell prefab, found in the root Assets folder, to Content
7. Expand DailyGoalCell and change EndLayout's Y position or something
8. Hit Apply in the inspector after making the changes with EndLayout selected
9. Delete DailyGoalCell from Hierarchy and don't save
10. Enter Play mode
Expected Result: Unity Editor successfully enters into the Play mode
Actual Result: Unity Editor crashes
Notes:
- This issue appears on both Windows and macOS
- Could not check on newer Unity versions because the project becomes corrupted
- The Stack trace and errors are shared in the Comments section
Reproduced on Unity 2017.4.0f1 and 2017.4.13f1
Could not check on Unity 2018.1.9f2, 2018.2.12f1, 2018.3.0b6 and 2019.1.0a6 because the project becomes corrupted
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
Resolution Note (2019.1.X):
The bug occurs because LKWDImageEditor.cs overrides the UI default material hideFlags to HideInInspector. to fix the bug simply change line from "image.defaultMaterial.hideFlags = HideFlags.HideInInspector" to "image.defaultMaterial.hideFlags |= HideFlags.HideInInspector"