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
- 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
Add comment