Search Issue Tracker
Fixed in 1.4.0
Votes
0
Found in [Package]
1.0.21 - 1.3.0
Issue ID
1078521
Regression
No
[TextMeshPro] SetText() call with int.MaxValue as one of its parameters gets cast to a float and then back to an int
Reproduction steps:
1. Open the attached project.
2. Play the "SampleScene"
Actual behavior:
- You will see "This following number is wrong -(".
- SetText() call with int.MaxValue as one of its parameters gets cast to a float and then back to an int, which results in a value larger than int.MaxValue being returned due to a floating point error, meaning the final casted int value becomes negative.
Expected behavior:
- Value of int.MaxValue.
Reproduced with:
- Package versions 1.0.21 - 1.3.0
- Editor version 2018.3.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Add comment