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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
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.