Search Issue Tracker
By Design
Votes
0
Found in
2021.2
2021.2.0b4
2022.1
Issue ID
1354177
Regression
No
[UI Builder] Label text displays incorrectly when changing font asset's Atlas Size
How to reproduce:
1. Open the attached project "1354177.zip"
2. In the Project window, double click the "Bug.uxml" Asset to open the UI Builder
3. In the Project window, select "LiberationSans SDF.asset"
4. In the Inspector window, under Generation Settings, change the Atlas Width to any other value and click apply
5. Go back to the UI Builder window
Expected Result: In the Viewport, Label text stays the same
Actual Result: In the Viewport, Label text gets corrupted and is displayed incorrectly
Reproducible with: 2021.2.0b8, 2022.1.0a5
Could not test with: 2018.4.36f1 (there is no UI Builder package for this Unity version), 1.0.0-preview.16 (2019.4.29f1, 2020.3.16 - Can't modify font asset of an element), 2021.1.17f1 (Can't modify font asset of an element), 2022.1.0a6 (Unity crashes upon reproduction step 4)
Note: If you type something new in the Label text the text will display well again
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (2022.1.X):
This only occurs when disabling "UI Toolkit LiveReload" option, which is by design.