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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Fixed in 3.0.4 TextMeshPro package version.