Search Issue Tracker
Fixed
Fixed in 6000.0.36f1, 6000.1.0b3, 7000.0.0a17
Votes
1
Found in
6000.0.25f1
6000.1.0a2
Issue ID
UUM-85465
Regression
No
"NullReferenceException" is logged when adding a visual element to a list using the Item Template setting
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/UI/MainMenu“ Visual Tree Asset using the UI Builder
3. In the UI Builder window Hierarchy tab, select “Container > SinglePlayerMenu > GameCreationMenu >Horizontal > SettingsWindow > GameSettings > unity-tab-view__content-container > Factions > unity-tab_content-container > FactionList” visual element
4. In the Inspector tab, observe the selected Item Template setting
5. In the Viewport tab, press “Preview”
6. Select the “$FactionSettings“ tab
7. Press the plus sign to add an element to the list
8. Observe the Console
Expected result: No errors are logged and a visual element with the selected Item Template appears
Actual result: “NullReferenceException” error is logged and no visual element appears
Reproducible with: 6000.0.25f1, 6000.1.0a2
Not reproducible with: 2021.3.45f1, 2022.3.51f1 (The “MainMenu” Visual Tree Asset broke due to unknown visual element types)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: To easier see the “NullReferenceException” error, clear the Console before step 7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Component Glyphs value is truncated and Ligature Table glyph fields become inaccessible when increasing the Component Glyphs count
- There is no “Overwrite Preset?” popup when saving a Customizable Toolbar preset with a name that already exists
- Customizable Toolbar preset does not switch to the Unity Default Preset when Reverting All Saved Presets or deleting the active Preset
- New Hierarchy visibility and pickability icon behavior differs from documentation
- [Usability] Selected node gets unselected when undoing changes in the Graph Inspector Node Settings tab
Add comment