Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.0.3
Issue ID
1297769
Regression
No
[TMP] Asterisk symbols are added in the beginning and end of text when "Text Style" set to "H1
Steps to reproduce:
1. Open the attached project
2. Open SampleScene and click on "Text (TMP)" object in the Hierarchy
3. Change "Text Style" property from "Normal" to "H1" in the "TextMeshPro - Text(UI)" component
Expected result: Text formatting is changed
Actual result: Asterisk symbols are added in the beginning and end of text
Reproducible: 2021.1.0a1 (3.0.3 TMP), 2020.2.0b14 (3.0.1 TMP), 2019.4.15f1 (2.1.1 TMP)
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 Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
This is by design as the H1 style is defined with those Asterisks where this H1 style is there as an example.
To remove these Asterisks or to define your own styles, either edit the current style sheet assigned in the TMP Settings or create your own TMP_StyleSheet and assign it to the TMP Settings as a global style sheet or assign it to individual text objects in the Extra Settings to use it as a local style sheet.