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

Package: TextMeshPro

-

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

  1. Resolution Note (fix version 3.2.x):

    Ensure PreferredHeight handles various line heights correctly.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.