Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.27f1
2022.3.2f1
Issue ID
UUM-40381
Regression
No
Null Reference Exception is thrown when clicking on an instantiated custom VisualTreeElement
Reproduction steps:
1. Open project “RTSTest.zip”
2. Open “TestConstruction.uxml“
3. Click on “ConstructionUIComponent\visualElement\VisualElement” in the Hierarchy
Expected result: no errors are thrown in the Console
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown in the Console
Reproducible with: 2021.3.27f1, 2022.3.2f1
Not reproducible with: 2023.1.0a25, 2023.1.0f1, 2023.2.0a20
Couldn’t test with: 2022.2.0a1, 2022.2.0a18, 2023.1.0a1, 2023.1.0a24 (compiler errors)
Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 10 (by the reporter)
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
- Object Picker takes the debounce time to load objects when Object Selector is set to Advanced search
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- 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
Resolution Note:
This is fixed with recent changes in 23.1 and above.