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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note:
This is fixed with recent changes in 23.1 and above.