Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X

Votes

0

Found in

2021.3.18f1

2022.2.0a8

2023.1.0b8

2023.2.0a6

Issue ID

UUM-27864

Regression

No

Text containing "\u" and "\U" is incorrectly displayed when using UIElements Label or TextField

--

-

How to reproduce:
1. Open the attached user project “UIToolkitEscapeSequenceParsing.zip“
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Enter Play Mode

Expected result: Text is displayed correctly
Actual result: Square symbols appear in the text

Reproducible with: 2021.3.18f1, 2022.2.0a8 
Not reproducible with: 2022.2.0a9, 2022.2.6f1, 2023.1.0b3, 2023.2.0a2
Can’t test with: 2020.3.45f1 (Errors in the Console)

Reproduced on: macOS 13.0.1 (Intel)

Note:
- Issue is reproducible in Builds (although instead of a square symbol, nothing is shown)
- If at least three characters follow a "\u" and they do not form a valid unicode escape sequence then the entire sequence will be replaced with the "square" unicode character
- If at least seven characters follow a "\U" and they do not form a valid unicode escape sequence then the entire sequence will be replaced with the "square" unicode character

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.