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
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
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.