Search Issue Tracker
Fixed in 1.5.0-preview.3 & 2.1.0-preview.3
Votes
0
Found in [Package]
2.1.0-preview.2
Issue ID
1198833
Regression
Yes
TextMeshPro-Text Component alignment is set to left and top when updating TextMeshPro
How to reproduce:
1. Open the attached project "1198833.zip"
2. Select the Text (TMP) GameObject and notice its Text alignment
3. Update TextMeshPro
Expected result: Text (TMP) GameObject's Text alignment stays the same
Actual result: Text (TMP) GameObject's Text alignment is reset to left and top
Reproducible with: TMP 1.5.0-preview.1, 1.5.0-preview.2 (2018.4.13f1), TMP 2.1.0-preview.1, 2.1.0-preview.2 (2019.2.13f1, 2019.3.0b12, 2020.1.0a14)
Not reproducible with: TMP 1.4.1 (2018.4.13f1), TMP 2.0.1 (2019.2.13f1, 2019.3.0b12, 2020.1.0a14)
Notes:
The issue is reproducible with GameObjects and Prefabs alike.
Instantiating the affected Prefab will result in a Prefab instance having the expected alignment.
The affected package versions are not available in Unity 2017.4, therefore the issue is not reproducible.
Comments (1)
-
sp-LeventeLajtai
Jul 27, 2020 10:21
This issue can still be reproduced in both in 2.1.0-preview.3 and 2.1.0-preview.14, when upgrading from 2.0.1. Please fix it!
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 1.5.0-preview.3 & 2.1.0-preview.3):
The following issue has been resolved. The fix will be included in the next TMP package release which will be version 1.5.0-preview.3 for Unity 2018.4 and 2.1.0-preview.3 for Unity 2019.x or newer.