Search Issue Tracker
Fixed in 1.6.0-preview.1, 2.2.0-preview.1. 3.2.0-preview.1
Votes
0
Found in [Package]
1.5.0-preview.12
Issue ID
1333571
Regression
Yes
[Text Mesh Pro] horizontal alignment does not work when using <cspace> tags
Reproduction steps:
1. Open project in "New Unity Project.zip" (1.3MB)
2. Open SampleScene
3. Inspect the 2 TMP Text Fields visible in the Scene view
Expected result: The text in both fields is horizontally alligned
Actual result: The text in bottom field is not horizontally aligned
Reproducible with: 1.5.0-preview.12 (2018.4.34f1), 1.5.6 (2018.4.34f1), 3.0.6 (2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16)
Not reproducible with 1.5.0-preview.11 (2018.4.34f1)
Notes:
1. The bottom text field contains <cspace=-0.5em><TEXT></cspace>, the issue is reproducible with any value for cspace
2. Changing spacing options in the Text (UI) module directly does not make the issue reproduce
3. This is a TMP package regression, regression version -> 1.5.0-preview.12
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Resolution Note (fix version 1.6.0-preview.1, 2.2.0-preview.1. 3.2.0-preview.1):
Fixed in Text Mesh Pro 2.2.0-preview.2 (tested in Unity 2019.4.32f1)