Search Issue Tracker
Won't Fix
Won't Fix in 2022.3.X
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note:
This is fixed with recent changes in 23.1 and above.
Resolution Note (2022.3.X):
This is fixed with recent changes in 23.1 and above.