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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment