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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
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.