Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2018.4.7f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1185339
Regression
No
Text elements placed over Image creates additional batch for Font Texture
How to reproduce:
1. Open the "Text batch.zip" project
2. Open the "SampleScene" scene
3. Window > Analysis > Frame Debugger >> Enable
4. Check the "Draw Meshes" under Canvas.RenderOverlays
Actual result: Two of them are for the same "Font Texture".
Expected result: Only one call for "Font Texture" is made.
Reproducible with: 2020.1.0a5, 2019.3.0b4, 2019.2.7f2, 2018.4.10f1, 2017.4.32f1.
Notes:
- The issue is reproducible when a Text element is placed over an Image element.
- The issue doesn't reproduce if the elements are placed under separate Canvases.
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (2020.1.X):
This is how the system works currently. all the text not over another image will have a "depth" of zero, where the text overtop of the image will have a "depth" > 0 when the system then tried to combine all depth 0 can be batched but the other can not.
Those few draw calls should be of no concern really.