Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.27f1
2022.3.3f1
2023.1.1f1
2023.2.0a20
Issue ID
UUM-41178
Regression
No
Crash on GC_make_disappearing_links_disappear when generating font atlas
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open the Font Asset Creator window (Window > TextMeshPro > Font Asset Creator)
3. Make sure Source Font File is “LT Diploma“
4. Click on Generate Font Atlas button in the Font Asset Creator window
5. Repeat step 4 until crash
Expected result: A font atlas is generated and displayed in the Font Asset Creator window
Actual result: Editor crashes
Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a4
Fixed in: 2023.2.0a5
Reproducible on: Windows 10
First few lines of Stack Trace:
{noformat}0x00007FFA8BEFA530 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\finalize.c:1000] GC_make_disappearing_links_disappear
0x00007FFA8BEF3E14 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\finalize.c:1178] GC_finalize
0x00007FFA8BEF4839 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\alloc.c:1087] GC_finish_collection
0x00007FFA8BEEF936 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\alloc.c:699] GC_collect_a_little_inner
0x00007FFA8BEED45B (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\malloc.c:57] GC_alloc_large
0x00007FFA8BEF65EF (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\malloc.c:264] GC_generic_malloc
0x00007FFA8BEFAB23 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\malloc.c:333] GC_malloc_kind {noformat}
Notes:
The reproduction rate is about 80% and usually crashes in less than 10 clicks.
There is a chance that it will throw errors in the console and not finish generating the atlas, closing the Font Asset Creator window crashes the editor
Changing the Atlas Resolution seems to affect the reproduction rate. Higher resolutions crash more consistently.
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
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
Resolution Note:
It crashes as the Atlas Render Mode is set to "Color" when the Font is not a Color Font. Changing the Atlas Render Mode to anything other than Color will fix the issue.
Note that more recent versions (3.2.0-pre.5 and above) ensure it does not crash.