Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.0b4
2022.1
Issue ID
1351363
Regression
No
[UI Toolkit] UI Builder/UI Document's layout breaks completely when reference to Font Asset is lost
How to reproduce:
1. Open the attached project's Scene labeled "Game"
2. Open the 'NewUXMLTemplate.uxml' in the UI Builder (Window->UI Toolkit->Ui Builder)
3. In the UI Builder window, select a Label
4. Select its referenced Font Asset
5. In the Project Window, delete it
6. Inspect the previously opened UI Document
Expected result: Layout is preserved
Actual result: Layout is lost and all settings are reset
Reproducible with: 2021.2.0b6, 2022.1.0a4
Couldn't test with: 2019.4.29f1 (UI Toolkit not available), 1.0.0-preview.14 (2020.3.15f1, 2021.1.16f1) (can't open the UI Document after downgrading)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a13
Resolution Note (fix version 2021.2):
Fixed in 2021.2.1f1