Search Issue Tracker
Not Reproducible
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
Votes
0
Found in
2021.3.44f1
2022.3.51f1
6000.0.24f1
6000.1.0a1
6000.2.0a1
7000.0.0a7
Issue ID
UUM-85047
Regression
No
Crash on mono_object_get_class when generating Font Atlas of a specific font file
How to reproduce:
1. Open the attached "CrashRepro" project
2. Open the TMPro Font Asset Creator (Window > TextMeshPro> Font Asset Creator)
3. Select the “Lotus Esprit 3“ font in the Source Font File field
4. Press “Generate Font Atlas“
Reproducible with: 2021.3.44f1, 2022.3.51f1, 6000.0.24f1, 6000.1.0a1
Reproducible on: macOS 14.5 Sonoma (Intel), 15.0 Darwin (M1) (reported by user)
Not reproducible on: No other environment tested
Note: Sometimes the Editor crashes when generating and closing the Editor; Following the reproduction steps, closing the Editor, and then following the reproduction steps again; Sometimes it never finishes generating the Atlas and crashes after a couple of minutes; The Editor can also crash after generating the Atlas, closing the project and opening it again.
First few lines of stack trace:
#0 0x000001723e1468 in mono_object_get_class
#1 0x000001011b9fd4 in Scripting::FindObjectsOfType(ScriptingSystemTypeObjectPtr, Scripting::FindMode, Scripting::FindObjectsInactive, Scripting::FindObjectsSortMode)
#2 0x000001005bc63c in ResourcesAPIInternal_CUSTOM_FindObjectsOfTypeAll(ScriptingBackendNativeObjectPtrOpaque*)
#3 0x00000333ab4ca4 in (wrapper managed-to-native) UnityEngine.ResourcesAPIInternal:FindObjectsOfTypeAll (System.Type) [{0x32b7a79b0} + 0x6c] (0x333ab4c38 0x333ab4d1c) [0x144552a80 - Unity Child Domain]
#4 0x00000333ab4bd8 in UnityEngine.ResourcesAPI:FindObjectsOfTypeAll (System.Type) [{0x32b7a7770} + 0x18] [/Users/bokken/build/output/unity/unity/Runtime/Export/Resources/Resources.bindings.cs :: 69u] (0x333ab4bc0 0x333ab4be4) [0x144552a80 - Unity Child Domain]
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
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
Resolution Note:
Cannot reproduce with latest version of trunk nor TMP. Seems like it was already fixed a couple of versions ago.