Search Issue Tracker
In Progress
Fix In Review for 6000.0.X, 6000.1.0b3
Votes
1
Found in
6000.0.25f1
6000.1.0a2
7000.0.0a1
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
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
- Mistakes in multiple Particle System Components pop-up
Add comment