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 Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
- Crash on ProcessSceneBeforeExport when analyzing selected Addressables rules in a specific project
- HDR images are compressed incorrectly with default settings on Android Platform
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
- Crash on mono_object_handle_isinst_mbyref_raw when SerializedReference points to a struct implementing ISerializationCallbackReceiver whose first field is a UnityEngine.Object
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.