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
- Video is not rendered in Video Player when Material Override is set as the Render Mode and a SpriteRenderer is used
- Scene.isSubScene returns True when a Scene that is not a SubScene is loaded in a build
- The Search window does not show objects with inherited components when filtering by type
- Scrolling occurs when using a shortcut with "Wheel Up" or "Wheel Down" on a selection command in a scrollable Hierarchy window
- Shortcut fails to trigger when using KeyCode.WheelUp with ShortcutModifiers.Shift
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.