Unity Issue Tracker - NullReferenceException is thrown when searching in the Debugger and UI element has a null name
Fixed
UUM-18683
NullReferenceException is thrown when searching in the Debugger and UI element has a null name
Unity: UI Toolkit Dev Tools
UIToolkit
Fixed
2023.1.X
2022.2.X
2021.3.X
2020.3.X
Won't Fix
2022.1.X
Fixed in 2023.1.0a21
Fixed for 2022.2.X: [UIToolkit] NullReferenceException is thrown when searching in the Debugger and UI element has a null name
2022.1.X back ports are superseded by 2022.2.X (ports cancelled)
Fixed in 2021.3.16f1
Fixed in 2020.3.43f1
How to reproduce:
1. Open the user’s attached “UIDebuggerWithNullName” project
2. Open the “Tools → My Custom Editor” window in the menu
3. Open the “Window → UI Toolkit → Debugger” window in the menu
4. Select the “MyTestEditor” panel in the Debugger
5. Search for anything at the bottom of the window
Expected result: Searching results are presented
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown in the Console log