Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.29f1
2022.3.7f1
2023.1.8f1
2023.2.0b4
Issue ID
UUM-47690
Regression
Yes
Crash on invalid_parameter_internal when opening TMP Font Asset Creator window
Reproduction steps:
1. Open the attached project “CreatorWindowCrash”
2. In the Project window select “Assets/Inter-Regular SDF.asset”
3. Click anywhere to deselect the selected file
4. Repeat step 2
5. Open the Font Asset Creator window ( Window > TextMeshPro> Font Asset Creator)
Expected result: Font Asset Creator window is opened
Actual result: The Editor crashes
Reproducible with: 3.2.0-pre.2 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1), 3.2.0-pre.5 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1), 4.0.0-pre.2 (2023.2.0b4)
Not reproducible with: 3.0.6 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- With 3.2.0-pre.1 crash doesn’t happen when opening the window, but the crash still appears after closing the window
- In step 5 also reproducible with Window > Text > Font Asset Creator
- Reproducible by pressing the Update Atlas Texture button in Inspector after step 4
First few lines of stacktrace:
{noformat}0x00007ff63ef138f3 (Unity) TextCore::FontEngine::GetFontFaces
0x00007ff63dc2b33a (Unity) FontEngine_CUSTOM_GetFontFaces_Internal
0x00000245c2ba10e7 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TextCore.LowLevel.FontEngine:GetFontFaces_Internal ()
0x00000245c2ba0ff3 (Mono JIT Code) UnityEngine.TextCore.LowLevel.FontEngine:GetFontFaces (){noformat}
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
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
The editor crash seemed to be caused by these packages included in the project manifest, as I could not reproduce the crash after removing them.
- com.yasirkula.runtimepreviewgenerator
- com.handzlikchris.fastscriptreload
Note that the Inter-Regular font that is part of the project is set to "Character Unicode". Changing the Character field to "Dynamic" allows to properly create a TMP Font Asset.