Search Issue Tracker
Fixed
Fixed in 6000.0.2f1
Votes
0
Found in
2019.4.36f1
2022.2.0a17
2023.1.0a1
2023.2.0a1
2023.3.0a3
6000.0.0b11
Issue ID
UUM-1180
Regression
Yes
Adding "Vertical Layout Group" Component to a "TMP Button" and then pressing "Undo" does not change the Text position back
How to reproduce:
1. Create a new project
2. In the Hierarchy window right-click > UI > Button - TextMeshPro
3. Import TMP Essentials
4. In the Hierarchy window select the "Button" GameObject and in the Inspector window add "Vertical Layout Group" Component
5. Press Ctrl + z or command + z or File > Undo
6. Observe the Text in the Button
Expected result: Text is in the middle of the Button
Actual result: Text is not in the middle of the Button
Reproducible with: 2.1.4 - 2.2.0-preview.2 (2019.4.36f1), 3.0.6 (2020.3.30f1, 2021.2.0a8, 2022.1.0a12, 2022.1.0b11), 3.2.0-pre.2 (2022.2.0a7)
Not reproducible with: 3.0.6 (2021.2.0a9, 2021.2.15f1, 2022.1.0a11)
Could not test with: 4.0.0-pre.1 (Errors)
Note: With Legacy Button, the Text disappears after adding the "Vertical Layout Group" Component
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
Add comment