Search Issue Tracker

Fixed in 1.4.2 & 2.0.2



Found in [Package]


Issue ID




[TextMesh Pro] Editor freezes and then crashes when font size is set to a large value

Package: TextMeshPro


How to reproduce:
1. Open the attached project named Case_1164407
2. Select the Text gameObject and set the font size to 99999999999999

Expected result: Editor throws a warning or truncates the font size
Actual result: Editor freezes and then crashes

Reproducible with: 2017.4.29f1(1.2.2), 2018.4.3f1(1.4.1), 2019.1.8f1(2.0.1), 2019.2.0b7(2.0.1), 2019.3.0a7(2.0.1)

Reproducible with package versions: 1.2.2 (Downloaded from the Asset store), 1.4.0, 1.4.1, 2.0.0, 2.0.1
Could not test with package versions: 1.3.0 or below (Text becomes invisible)

The issue happens either by setting the size in the inspector or adding a <size> or <space> tag

  1. Response avatar

    Resolution Note (fix version 1.4.2 & 2.0.2):

    This issue has been resolved. The minimum and maximum values for font size in the Inspector are now clamped between 0 and 32767.

    Rich text tag values are now limit to 32767 as well. When a value exceeds this threshold, the tag is rejected like any invalid tag where the tag text is displayed like normal text.

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.