Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.6f1
2021.1.0b7
2021.1.2f1
2021.2.0a4
Issue ID
1328789
Regression
Yes
Crash on tt_cmap4_char_map_binary when rebuilding Library folder
How to reproduce:
1. Open the attached ”1328789_CrashRepro” project
Expected result: Project opens
Actual result: Project crashes
Reproducible with: 2020.2.6f1, 2020.3.8f1, 2021.1.0b7, 2021.1.6f1, 2021.2.0a4, 2021.2.0a13
Doesn’t reproduce with: 2018.4.34f1, 2019.4.26f1, 2020.2.5f1, 2021.1.0a1, 2021.1.0b6, 2021.2.0a1, 2021.2.0a3, 2021.2.0a14, 2021.2.0a16
Notes:
Doesn’t reproduce If the Library is created before opening the project
After the first crash library is created
Stack trace:
#0 0x00000106c628f8 in tt_cmap4_char_map_binary
#1 0x00000106c5f946 in tt_cmap4_char_index
#2 0x00000106c7daf3 in UNITY_FT_Get_Char_Index
#3 0x0000017d30572d in (wrapper managed-to-native) UnityEngine.TextCore.LowLevel.FontEngine:GetGlyphIndex (uint) {0x7fd1d0d5c1a8} + 0x5d (0x17d3056d0 0x17d3057bd) [0x15bac8960 - Unity Child Domain]
#4 0x0000017d304823 in TMPro.TMP_FontAsset:AddSynthesizedCharactersAndFaceMetrics () {0x7fd1cfa6e348} + 0xa3 (0x17d304780 0x17d304ccf) [0x15bac8960 - Unity Child Domain]
Comments (1)
-
Anant_Sharma_Miniclip
Jun 21, 2024 13:28
Unity Version: 2021.3.34.f1
TMP Version: TMP 3.2.0-pre-10The same thing happens to me on iOS build.
0 UnityFramework 0xc40034 tt_cmap4_char_map_binary + 1247 (ttcmap.c:1247)
1 UnityFramework 0xc36c84 tt_cmap4_char_index + 1501 (ttcmap.c:1501)
2 UnityFramework 0xc2e330 UNITY_FT_Get_Char_Index + 3900 (ftobjs.c:3900)
3 UnityFramework 0x93809c TextCore::FontEngine::TryGetGlyphWithUnicodeValue(unsigned int, TextCore::FT_LOAD_FLAGS, TextCore::Glyph&) + 1020 (FontEngine.cpp:1020)
4 UnityFramework 0x937eb0 TextCore::FontEngine::GetFaceInfo(TextCore::FaceInfo&) + 864 (FontEngine.cpp:864)
5 UnityFramework 0x559a64 FontEngine_CUSTOM_GetFaceInfo_Internal(FaceInfo__&) + 1234 (TextCoreFontEngineBindings.gen.cpp:1234)
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
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
Resolution Note (fix version 2021.2):
Does no longer reproduce from 2021.2.0a14 and above