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
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
- URP _EMISSION keyword removed from Material when Global Illumination is set to None
- Adding “Entities Graphics Stats Drawer (Script)” Component in Inspector spams “InvalidOperationException: using UnityEngine.Input with Input System active” errors in the Console window
- "New Project" creation window shows only "Project name" instead of "Project Name & Location"
- "Line breaking recursion max threshold hit" error when Overflow is set to Ellipsis with fonts missing the ellipsis character
Resolution Note (fix version 2023.1.0b11):
FontAsset.HasCharacter now supports UTF32
Resolution Note (fix version 2022.2.16f1):
FontAsset.HasCharacter now supports UTF32