Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a8
Issue ID
1329767
Regression
Yes
UI Toolkit Live Reload errors on Editor Window after modifying uxml file and returning to Editor and the window is docked
Reproduction steps:
1. Create a new project
2. Right click the Project view and select Create > UI Toolkit > Editor Window
3. Let all 3 checkboxes marked, name your window, click Confirm
4. Open the created editor window, turn Live Reload on in for the window and dock it somewhere
5. Open the uxml created for the editor window in the UI Builder and edit some of its content (e.g. change the value of the label, or add a new visual element)
Expected result: the editor window live reloads, no errors are shown in the console
Actual result: the editor window does not live reload, there's a NullReferenceException shown on the console
Reproducible with - 2021.2.0a8, 2021.2.0a20
Not reproducible with - 2018.4.35f1, 2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a7
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
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
- OnEndDrag event not triggered when losing Editor focus during simultaneous Left and Right mouse drag
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
- Diagnostic Warning Resets When Navigating Away and Returning to Diagnostics Settings
- Checkbox Collides with Text in Shader Graph Preferences Settings
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a6