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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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.