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
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
Resolution Note (2022.1.X):
This only occurs when disabling "UI Toolkit LiveReload" option, which is by design.