Search Issue Tracker
By Design
Votes
0
Found in
5.4.2f1
Issue ID
845403
Regression
No
[UI] Rich text hidden characters are taken into account in Statistics (Tris & Verts count)
If we write some rich text with tags like <b>Text</b>, the tags are hidden, however every hidden character is taken into account when showing Tris and Verts in Statistics window.
Reproduction steps:
1. Open new project
2. Add UI text object (GameObject>UI>Text)
3. Write "<b>Text</b>" in the text field
4. Observe the Tris count in Statistics
5. Check Rich Text checkbox on Text script
Expected result: <b> and </b> tags are hidden and Tris count reduced accordingly
Actual result: <b> and </b> tags are hidden but Tris count stay the same
Reproduced on: Unity 5.5.0b9, 5.4.2f1, 5.3.3f1, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment