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
- 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:
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.