Search Issue Tracker
Fixed
Fixed in 6000.2.0a7
Votes
0
Found in
6000.0.42f1
6000.1.0b10
6000.2.0a6
Issue ID
UUM-99667
Regression
Yes
NullReferenceException error is thrown when adding the OverlayContainer or ToolbarOverlayContainer Element to the Hierarchy in UI Builder
Steps to reproduce:
- Open any Project
- Create a UI Document Asset in the Project Browser and open it
- In the Library choose "Project"
- Add OverlayContainer or ToolbarOverlayContainer to the Hierarchy (from UxmlSerializedData > UnityEditor > Overlays)
Actual results: Error "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Overlays.OverlayContainer+UxmlSerializedData.Deserialize (System.Object obj) (at <020c0befcaf54273ae8e5ac79216d210>:0)"
logged in Console when the Overlay Container is added to the UI Docs Hierarchy
Artifacting happens when Further adding anything to the Hierarchy and other errors are logged
Expected results: No issues with Elements
Reproducible with versions: 2023.3.0a15, 6000.0.42f1, 6000.1.0b10, 6000.2.0a6
Not reproducible with versions: 2022.3.60f1, 2023.3.0a14
Tested on (OS): Windows 11
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