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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.