Search Issue Tracker
Active
Votes
3
Found in
2021.3.46f1
2022.3.52f1
6000.0.26f1
6000.1.0a3
Issue ID
UUM-87152
Regression
No
UI Image batching breaks when interleaving elements with mixed z-positions and materials
Reproduction steps:
1. Open the attached “IN-88761.zip” project
2. Open the “UI BATCH BUG” Scene
3. Make sure “Incorrect. Interleaved. Not Equal Z, 6 batches” GameObject from the Hierarchy is enabled
4. Open the Frame Debugger (Window > Analysis > Frame Debugger)
5. Expand the “Canvas.RenderOverlays”
Expected result: 2 Draw Calls are visible
Actual result: 6 Draw Calls are visible
Reproducible with: 2021.3.46f1, 2022.3.52f1, 6000.0.26f1, 6000.1.0a3
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Leaving only one type of material GameObjects in the Layout, makes the issue not reproduce anymore
- “Correct. Interleaved. Equal Z, 2 batches” GameObject in the Hierarchy shows the correct behavior while z-position is the same on all GameObjects
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
- The options modal for which type of Tilemap to create isn't drawn when it has been previously closed until the user moves their cursor
Add comment