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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.