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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment