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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
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"