Search Issue Tracker
Fixed
Fixed in 2022.2.16f1, 2023.1.0b11, 2023.2.0a6
Votes
0
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a24
2023.2.0a1
Issue ID
UUM-22663
Regression
No
FontAsset.HasCharacter overloads are missing UTF32 support
Reproduction steps
1. Open the attached user's project "TextMeshPro-UTF32.zip"
2. Observe the compile error:
error CS1503: Argument 1: cannot convert from 'int' to 'char' for font.HasCharacter(character: 0x1F44B, searchFallbacks: true)
Expected: for TMP HasCharacter to have a way to check Unicode characters with searchFallbacks
Actual: TMP_FontAsset.HasCharacter overloads are missing UTF32 support
Reproducible on: TMP 3.0.6 (2020.3.41f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a24)
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
- Component Glyphs value is truncated and Ligature Table glyph fields become inaccessible when increasing the Component Glyphs count
- There is no “Overwrite Preset?” popup when saving a Customizable Toolbar preset with a name that already exists
- Customizable Toolbar preset does not switch to the Unity Default Preset when Reverting All Saved Presets or deleting the active Preset
- [Usability] Selected node gets unselected when undoing changes in the Graph Inspector Node Settings tab
- Search Default option for Column Format does not reset the column's format
Resolution Note (fix version 2023.1.0b11):
FontAsset.HasCharacter now supports UTF32
Resolution Note (fix version 2022.2.16f1):
FontAsset.HasCharacter now supports UTF32