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
- Multiple warnings are thrown when importing Terrain URP Demo Scene to the Project
- The Frame value field does not update when using the increment/decrement arrows in the Frame Debugger if the value has been manually inputted
- [Remote Config] PreparePayloadWithConfigType function is looking for camelCase property names, when the JSON objects are using PascalCase naming
- UI Builder Viewport's Tool Gizmo has deadzones
- SpriteShapes are rendered using multiple draw calls when the SRP Batcher determines their nodes are incompatible in a specific project
Resolution Note (2022.1.X):
This only occurs when disabling "UI Toolkit LiveReload" option, which is by design.