Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

4

Found in

6000.0.51f1

6000.1.7f1

6000.2.0b5

6000.3.0a1

Issue ID

UUM-108862

Regression

Yes

Certain fonts display incorrect spacing in the UI Builder when text combines numbers and letters

-

How to reproduce:
1. Create a new project
2. Create a new UI Document (Assets > Create > UI Toolkit > UI Document)
3. Add a label and input the text “0a1a2a3a4a5a6a7a8a9a”
4. Import the attached fonts and create a font asset
5. Change the label text font to one of the assets
6. Observe the result

Expected result: The font shows with regular spacing
Actual result: The font shows with incorrect spacing

Reproducible with: 2023.2.0a5, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Not reproducible with: 2022.3.63f1, 2023.2.0a4

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
- Issue occurs with numbers 1 - 5, lowercase letters: a, b, f, o, and uppercase letters: E, M, N, Y, Z
- First font used will always reproduce the issue but adding another label with the other font will often not reproduce
- Restarting the project fixes the issue but will reproduce again with a new label
- The font shows normally on other GameObjects

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.