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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.