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
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment