Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.29f1
2022.3.7f1
2023.1.9f1
2023.2.0b7
2023.3.0a2
Issue ID
UUM-47791
Regression
No
Warning "Please assign a Font Asset to this Text (TMP) gameobject" thrown when re-importing TMP Essential Resources
How to reproduce:
1. Open any Project and create a TMP Asset in the Hierarchy
2. When prompted import TMP Essential Resources
3. Delete the TMP Essential Resources folder from Assets
4. Reimport the TMP Essential Resources and select the GameObject in Hierarchy
5. Observe the Console
Expected result: Since the Assets the Warning is mentioning are assigned and functioning, no Warnings should be thrown
Actual result: Warning is logged in the Console even though the Font Asset is assigned "Please assign a Font Asset to this Text (TMP) gameobject.
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
TMPro.TextMeshProUGUI:OnPreRenderCanvas () (at ./Library/PackageCache/com.unity.ugui@2.0.0/Runtime/TMP/TextMeshProUGUI.cs:239)
TMPro.TextMeshProUGUI:Rebuild (UnityEngine.UI.CanvasUpdate) (at ./Library/PackageCache/com.unity.ugui@2.0.0/Runtime/TMP/TextMeshProUGUI.cs:223)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0b7, 2023.3.0a2
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
Deleting the resources while importing is not a workflow we plan to support. After importing the resources, entering and exiting play mode fixes the issue.