Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
0
Found in
6000.0.59f1
6000.2.7f1
6000.3.0b4
6000.4.0a1
Issue ID
UUM-120499
Regression
No
TextMeshPro text is misaligned when alignment is set via script
How to reproduce:
1. Open the “IN-115640_TMProAlignmentBug“ project
2. Open the “Assets/Scenes/TMPAlignmentIssue” Scene
3. Enter Play Mode
4. Observe the “Text (TMP)” GameObject in Scene view
Expected result: The text is aligned correctly and is within the rect bounds
Actual result: The text is out of the rect bounds
Reproducible with: 2023.2.0a17, 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Reproducible on: macOS 15.6.1 (M1 Max), Windows 10 (by user)
Not reproducible on: no other environments tested
Note: If you manually select the vertical alignment for the Script component attached to the TMP GameObject the issue is no longer reproducible
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Add comment