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
- Project Auditor Analysis is not marked dirty when the save file is deleted even after reopening the Project Auditor window
- “Shader Graphs” text in the blackboard is hard to see
- "NullReferenceException" error is thrown when changing input field focus via script with custom validation
- The Tables in the Project Auditor’s Assemblies, and Precompiled Assemblies tabs does not scale with the Project Auditor window size which leads to unused empty space and bigger scrollbars in the tables
- Tile Palette button with longer Palette name is misaligned and cut-off when Tile Palette Clipboard overlay is resized
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"