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)

UI

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.