Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.2.0b3
Issue ID
931925
Regression
Yes
Deleting a script corrupts prefab which had that script
To reproduce:
1.Create new project
2.Create a Cube in the hierarchy
3.When cube is selected i the inspector Add Component > New script
4.Drag the cube from hierarchy window to project view to create a prefab
5.Delete the created script
6.Select the prefab
Expected behavior: prefab is selected with no errors
Actual behavior: inspector window gets corrupted, console throws :
ArgumentNullException: Argument cannot be null.
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
ArgumentNullException: Argument cannot be null.
errors non stop.
Reproduced on: 2017.2.0b3
Not reproduced on 5.6.2p4 2017.1.0f3 2017.2.0a1 2017.2.0b1
Regression introduced in: 2017.2.0b2
Workaround:
Drag the prefab from project window to hierarchy, delete missing script components and press apply
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Add comment