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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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.