Search Issue Tracker

Fixed

Fixed in 2022.3.21f1, 2023.2.12f1, 2023.3.0b8

Votes

0

Found in

2022.3.18f1

2023.2.7f1

2023.3.0b4

Issue ID

UUM-61577

Regression

Yes

New line is added to the “Label” element if having a “<“ sign in bold tags if the width is set to “Auto”

--

-

How to reproduce:
1. Open the user’s attached “NewLineBecauseOfLessThan.zip” project
2. Open the “Game” window and observe the result

Expected result: Text has one line
Actual result: Text has two lines

Reproducible with: 2022.2.0a9, 2022.2.21f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4
Not reproducible with: 2021.3.34f1, 2022.2.0a8

Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested

Notes:
- reproducible in Editor and Standalone Player (macOS)
- not reproducible with “>” sign

  1. Resolution Note (fix version 2023.3.0b8):

    Ensure GetPreferredValues and GenerateTextMesh return the same size.

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.