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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
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.