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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment