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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2023.1.0b11):
FontAsset.HasCharacter now supports UTF32
Resolution Note (fix version 2022.2.16f1):
FontAsset.HasCharacter now supports UTF32