Search Issue Tracker
Fixed
Fixed in 6000.6.0a6
Under Consideration for 6000.5.X
Votes
0
Found in
6000.5.0b8
6000.6.0a5
Issue ID
UUM-142120
Regression
No
VisualReferenceElement object field has an icon displayed on a null reference by default
Steps to reproduce:
- Create a new project
- Create and instantiate a new script in the Hierarchy
## Inside the script, declare a public VisualElementReference object
- Save and focus on the Editor
- Observe the VisualElementReference field in the Inspector
Actual results: A VisualElement icon is seen on a null reference by default
Expected results: No icon is seen on a null reference
Reproducible with versions: 6000.5.0a5, 6000.5.0b8, 6000.6.0a5
Can’t test with versions: 6000.0.75f1, 6000.3.15f1, 6000.4.7f1, 6000.5.0a3 (No VisualElementReference class)
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- The Icon changes based on the selected reference, but the VisualElement icon is the default
- Inconsistent compared to other object reference fields in the Editor
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “NullReferenceException” error thrown when adding element to “Output Slots” in Debug Inspector for Update Particle Block
- "NullReferenceException" and ""GUI Error: Invalid GUILayout" errors when clicking "Run Selected" in Test Runner with no tests visible in search results
- Inspector window scrollbar resets to the middle when changing Monobehaviour script properties on a Prefab while the scrollbar is active
- Crash on Umbra::Task::writeTomeToFile when baking Occlusion Culling in a scene containing a large amount of GameObjects with Mesh Renderers
- "PBR Sky Shader Graph" and "Water Shader Graph" previews are pink
Resolution Note:
Fixed in 6000.6.0a6
Resolution Note (fix version 6000.6.0a6):
Fixed in 6000.6.0a6