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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (2022.1.X):
This only occurs when disabling "UI Toolkit LiveReload" option, which is by design.