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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
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.