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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note:
Fixed in 3.0.4 TextMeshPro package version.