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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a6