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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
Fixed in 3.0.4 TextMeshPro package version.