Search Issue Tracker
Fixed in 1.4.2 & 2.0.2
Votes
0
Found in [Package]
2.0.1
Issue ID
1164407
Regression
No
[TextMesh Pro] Editor freezes and then crashes when font size is set to a large value
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)
Notes:
The issue happens either by setting the size in the inspector or adding a <size> or <space> tag
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
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.