Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2019.1.0a9
Issue ID
1099228
Regression
Yes
NullReferenceException when clicking inside the prefab override popup after applying overrides
If you apply all overrides to a prefab and then click inside the overrides popup, a NullReferenceException will occur.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PrefabOverridesTreeView.RowGUI (UnityEditor.IMGUI.Controls.TreeView+RowGUIArgs args) (at C:/buildslave/unity/build/Editor/Mono/Prefabs/PrefabOverrides/PrefabOverridesTreeView.cs:396)
1. Install Unity
2. Open the attached project
3. Open SampleScene.scene
4. Select the Cube object in the Scene Hierarchy
5. Make changes to the Box Collider component in the Inspector
6. Select Overrides in the Inspector
7. Select the Box Collider component in the Overrides Popup
8. Select Apply > Apply to Prefab 'Cube'
9. Click on the area that says "No Overrides" in the Override Popup
Expected Result:
No exceptions occur.
Actual Result:
A NullReferenceException occurs.
Regression in 2019.1.0a9.
Tested on 2019.1.0a9, 2019.1.0a8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
- Copied and Pasted States appear in a set location instead of where the Users cursor is located at when using the Pasting Shortcut
- Animator Component information box text is not centered
Add comment