Search Issue Tracker
Fixed
Fixed in 3.2.x
Votes
0
Found in [Package]
3.2.x
Issue ID
TMPB-165
Regression
No
[TextMeshPro] Truncate mode cuts off text when using Content Size Fitter
Reproduction steps:
1. Open the attached project “TruncateRepro”
2. Open the “Assets/Scenes/ContentSizeFitter” scene
3. Compare the texts in the Game view
Expected result: The end of the text is same in the both columns
Actual result: The end of the first column text is cut off
Reproducible with: 3.0.6 (2020.3.44f1), 3.2.0-pre.4 (2020.3.44f1, 2021.3.17f1, 2022.1.24f1, 2022.2.3f1, 2023.1.0a26)
Couldn’t test with: 3.0.6 (2021.3.17f1, 2022.1.24f1, 2022.2.3f1, 2023.1.0a26) - Couldn't downgrade due to errors in the scripts and package errors 4.0.0-pre.1 (2022.1.24f1) - The text wasn’t rendering and “NullReferenceException” was being thrown 4.0.0-pre.1 (2022.2.3f1, 2023.1.0a26) - errors in the package
Reproducible on: macOS 13.1 (Intel)
Notes:
- This is reproducible when using the Japanese alphabet
- This is not reproducible when using English alphabet
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 3.2.x):
Ensure PreferredHeight handles various line heights correctly.