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
-
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.