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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.