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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment