Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.2.0-pre.3
Issue ID
TMPB-40
Regression
No
TextMeshPro text doesn't show up when importing from a custom package
Reproduction steps:
1. Create an empty project
2. Import Input System package
3. Import the user's attached Unity package
4. Open the "Assets/AndyVersion/Scenes/MainScreen" scene
5. Press "Import TMP Essentials" and close the TMP Importer window
Expected result: TextMeshPro text is visible on all of the buttons
Actual result: TextMeshPro text is visible only on the first button
Reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a12
TMP version: 3.0.6
Note:
- imported text becomes visible after relaunching the Editor
Comments (1)
-
Kobald-Klaus
Aug 20, 2023 11:36
I ran into the same problem. I fixed by replacing the font asset with one in my main applications folder like so:
var lst = GetComponentsInChildren<TMPro.TextMeshProUGUI>();
foreach (var t in lst)
{
t.font = FontForLabels;
}
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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Resolution Note:
Thank you for bringing this issue to our attention. After careful consideration, we have determined that this issue is not aligned with our current development priorities and focus areas (UI Toolkit). As such, we have decided not to invest time and resources into addressing it. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.