Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.43f1

2022.3.51f1

6000.0.23f1

6000.1.0a2

6000.2.0a1

7000.0.0a1

Issue ID

UUM-84649

Regression

No

[iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer

-

Reproduction steps
1. Open the attached “ASDQWE” project
2. Open the Build Settings Window (File > Build Settings)
3. Press the Build button to export the project as an XCode project
4. Open the project using XCode
5. Build the project to a device
6. Observe the Player

Expected result: “abcㄝㄘ123" is displayed
Actual result: "abc123" is displayed

Reproducible with: 2021.3.43f1, 2022.3.51f1, 6000.0.23f1

Reproducible environment: MacOS 13.6.7 (user’s), 14.6.1 (Intel)
Not reproducible environment: No other environment tested

Reproducible on:
iPhone 12 Pro Max - iOS 18.1
iPhone 13 - iOS 18.0

Not reproducible on:
iPhone 11 Pro - iOS 17.7
Lenovo Tab M10 - Android 9
Samsung Galaxy S23 Ultra - Android 14
MacOS Buildtime, Runtime

Note: The UTF-8 codes for the letters are "E3849D", "E38498"

  1. Resolution Note:

    Apple has removed PingFang font from iOS 18 causing some languages to not have any font available.
    Note that the font can be installed to the phone manually as well the font is installed if a language that uses the font is added to the languages list in the system settings.
    This issue has multiple workarounds so we won't be fixing it.

    How to fix the issue in your project:
    1. (The recommended fix) Add a fallback font to TMP/UIToolkit settings.
    TMP and UIToolkit settings allow to specify a list of fallback fonts. Including the relevant font there will fix the issue
    2. Add a custom font to the Xcode project
    Add a font in the Xcode project and add it to the main target: https://developer.apple.com/documentation/uikit/adding-a-custom-font-to-your-app?language=objc
    Then add it to the FontManager with CTFontManagerRegisterFontsForURL at the app start. Note that the font name will also need to be added to the defaultFonts array in Filesystem.mm in the Trampoline

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.