Search Issue Tracker

Fixed

Fixed in 6000.0.0b15

Votes

0

Found in

2021.3.30f1

2022.3.9f1

2023.1.12f1

2023.2.0b8

2023.3.0a4

6000.0.0b1

6000.0.0b11

Issue ID

UUM-48220

Regression

No

MeasureTextSize returns incorrect size when the used string value is only spaces

--

-

How to reproduce:
1. Open the “IN-51217_repro“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Observe the Console

Expected result: Measured size is (0,0)
Actual result: Measured size is different

Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Note: Reproducible in Player

  1. Resolution Note (fix version 6000.0.0b15):

    Add pre and pre-wrap to USS WhiteSpace property

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.