Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0b8
2018.3.2f1
Issue ID
1118265
Regression
Yes
Inspector breaks and throws NullReferenceException after editing any Script on Prefab with Removed Script while in Prefab Mode
How to reproduce:
1. Open the attached "ProtoJump.zip" project
2. Double click on "Speedy" prefab in the Prefab folder to enter Prefab Mode
3. Note that this prefab has a script with (removed) in the title
4. Open the "AutoMovement2D" script in Visual Studio and edit anything
5. Return to the Unity and make sure the Prefab is selected
6. Observe the Inspector
Expected Behavior: The Inspector refreshes and everything is as it was before Script editing
Actual Behavior: The Inspector is broken, fake window section appears next to the inspector, the script is gone from the inspector, editor throws NullReferenceExceptions
Reproducible with: 2018.3.0b8, 2018.3.3f1
Not Reproducible with: 2018.3.0b7 and 2019.1, 2019.2 streams, as the inspector is reworked there, also 2017.4 as it does not have Prefab Mode
Note: The bug does not seem to reproduce if the prefab is not selected.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Add comment