Search Issue Tracker

Fixed

Votes

1

Found in [Package]

2.0.0

Issue ID

1151621

Regression

No

Rect Transform 'Width', 'Height' and TMP 'Font Size' values are changed when label.text = null

Package: TextMeshPro

-

How to reproduce:
1. Open the attached 'tmp_bug.zip' project
2. Play the 'SampleScene' scene (Assets -> 'Scenes' -> 'SampleScene')
3. Expand 'canvas', 'label' Game Objects and click on 'text' object
4. Observe Rect Transform 'Width', 'Height' and TMP 'Font Size' values
5. Go to Game tab and press 'Set text' button
6. Observe Rect Transform 'Width', 'Height' and TMP 'Font Size' values

Expected result: Values are the same
Actual result: Values are changed (Height = 50, Width = 200, Font size = 36)

Reproducible: 2018.3.14f1, 2018.4.0f1, 2019.1.2f1, 2019.2.0b1, 2019.3.0a2
Can't reproduce: 2017.4.26f, because Package Manager was not introduced

  1. Resolution Note:

    Fixed in 3.0.4 TextMeshPro package version.

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.