Search Issue Tracker

Active

Votes

0

Found in

6000.0.40f1

6000.1.0b8

6000.2.0a5

Issue ID

UUM-98397

Regression

No

Text is culled by size when Content Size Fitter is small and rich text is used

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/TMP_PreferredSize/Scene_TMP-PreferredSize.unity” Scene
3. Select “Canvas > Text {TMP} - Vertical Fit: Preferred” in Hierarchy
4. In Inspector, under “TextMeshPro - Text {UI}” in the Text Input field change the tag of <size=24> to <size=16>
5. Observe how “Rank 99” is shown in the Scene view
6. Change <size=17> or other higher number (Value which reproduces this varies from one PC to another)
7. Observe the Scene view

Expected result: Text “Rank 99“ is present
Actual result: Text “Rank“ is present

Reproducible with: 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Could not test with: TMP 3.0.9 (2022.3.59f1)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Reproducible when Vertical Fit is set to “Prefered”
- Reproducible with size = 24 when Vertical Fit is set to “Unconstrained“
- Content Size Fitter might be calculating size incorrectly

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.