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
- Inconsistent NullReferenceException while connecting Edges in the Graph
- Output Decals URP link in Learning Templates directs to HDRP Lit Decal Documentation
- Performing Undo Redo for Convert to Property action creates a ghost Node
- Crash on GameObject::IsActiveIgnoreImplicitPrefab when opening a specific project
- Default Input Action Asset creates unsaved changes when clicking on Button actions
Resolution Note (fix version 2023.1.0b11):
FontAsset.HasCharacter now supports UTF32
Resolution Note (fix version 2022.2.16f1):
FontAsset.HasCharacter now supports UTF32