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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Resolution Note:
Fixed in 3.0.4 TextMeshPro package version.