Search Issue Tracker


Fixed in 3.2.x



Found in [Package]


Issue ID




Crash on tt_cmap12_char_map_binary when The Editor is upgrading URP materials

Package: TextMeshPro


Reproduction steps:
1. Open the attached “ASDQWERTY” Project
2. Confirm the URP material upgrade

Expected result: The URP materials are upgraded and the project is opened
Actual result: The Editor crashes

Reproducible with: 3.2.0-pre.2 (2022.2.11f1), 3.2.0-pre.4 (2022.2.11f1)
Not reproducible with: 3.2.0-pre.1 (2022.2.11f1)
Could not test with:
3.0.6 (2022.2.11f1 (error CS1061: 'TextMeshPro' does not contain a definition for 'textWrappingMode'))
3.2.0-pre.2 (2020.3.46f1 (error CS8124: Tuple must contain at least two elements, error CS1526: A new expression requires; and other errors))
3.2.0-pre.2 (2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8 (two errors CS0012, two errors CS0411))
4.0.0-pre.1 (2022.2.11f1 (error CS0029: Cannot implicitly convert type 'uint[]' to 'int[]'))
4.0.0-pre.2 (2022.2.11f1 (error CS0234: The type or namespace name 'TMP_FontAsset' does not exist in the namespace 'TMPro'))

Reproducible on: Intel MacOS 13.2.1, Windows 10 Pro

Note: Not reproducible with: High-definition RP, Built-in RP

First few lines of the stack trace:

{noformat}#0 0x00000108b99aa2 in tt_cmap12_char_map_binary
#1 0x00000108b8e096 in tt_cmap12_char_index
#2 0x00000108b84b73 in UNITY_FT_Get_Char_Index
#3 0x0000010723475b in TextCore::FontEngine::GetFaceInfo(TextCore::FaceInfo&)
#4 0x0000010611c9a9 in FontEngine_CUSTOM_GetFaceInfo_Internal(FaceInfo__&){noformat}

  1. Resolution Note (fix version 3.2.x):

    Fixed crashed when upgrading materials.

    Note: Fixed in 3.2.0-pre.5

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.