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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a6