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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Add comment