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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment