Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2018.4.X, 2019.2.X, 2019.3.X



Found in




Issue ID




[iOS] Crash on CreateCppStringFromNSString when entering Emoji as max character



How to reproduce:
1. Build the attached project for iOS
2. Build & Run the project to device via Xcode
3. Type 23 letters in the Input field (The input has max 24 character)
4. Type in Emoji

Actual result: Unity crashes.

Reproducible with: 2018.4.13f1, 2019.2.13f1, 2019.3.0b11, 2020.1.0a13.

Reproducible with:
- iPhone 8 Plus (12.1.2)

Devices not reproducible with:
- VLNQA00272, Samsung Galaxy S10+ (SM-G975U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640

- Reproducible with both TextMeshPro and default UI.

Fixed in 2020.1.0a15, 2019.3.0f5, 2019.2.19f1.

  1. Resolution Note (fix version 2022.1):

    Originally fixed in 2020.1.0a15, additional fix for an edge case was added in 2022.1.0a6

  2. Resolution Note (fix version 2018.4):

    Fixed in 2018.4.17f1

Comments (1)

  1. yuras_unity

    Nov 19, 2023 09:53

    While this issue is marked as resolved, we can still reproduce it constantly on iOS devices.
    We're using Unity 2021.3.20 and TextMeshPro 3.06

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.