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
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
- Text field does not disappear if Ctrl+Z is pressed while editing text
- CullingResults.GetShadowCasterBounds Results Remain Unchanged Despite Restricting Affected Objects with Rendering Layers
- Water Surface renders rectangular shape when the Camera is relatively close to the surface
Resolution Note (2022.1.X):
This only occurs when disabling "UI Toolkit LiveReload" option, which is by design.