Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X

Votes

0

Found in

2021.2.11f1

Issue ID

1402404

Regression

No

[2D][Sprite] Mismatch in Secondary Texture order for sprites in scene causes draw batching to break

2D

-

[2D][Sprite] Mismatch in Secondary Texture order for sprites in scene causes draw batching to break

Repro steps:
- Open SampleScene, enter playmode, observe Frame Debug shows 2-3 draw calls with Axe sprite on a different call than the rest (meaning the batch is broken)
- Disable Axe gameobject or switch the Secondary Texture order of Axe sprite in Sprite Editor
- Enter playmode again and observe Frame Debug shows only 1 draw call and all sprites are batched

Expected result: Batch should not be broken when sprites in scene have different Secondary Texture order
Actual result: Batch is broken when sprites in scene have different Secondary Texture order

  1. Resolution Note (fix version 2022.2):

    Fix for this issue is available on Unity 2022.2.0a12 and above

  2. Resolution Note (fix version 2021.3):

    Fix for this issue is available on Unity 2021.3.4f1 and above

Add comment

Log in to post comment