Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.11f1
Issue ID
1405321
Regression
No
[2D][Sprite Atlas] Atlased sprites with different secondary texture order not batched in 2021.2
[2D][Sprite Atlas] Atlased sprites with different secondary texture order not batched in 2021.2
Note: Batching works fine for 2022.1 and 2022.2
Repro steps:
- Open attached project
- In Sprite Editor window, observe Axe_A has different secondary texture order than rest of weapon sprites
- Open SampleScene, enter playmode
- Open Frame Debugger, observe textures are referencing sprite atlas
- Observe 2-3 draw calls with Axe_A not being batched with rest of the sprites even if they are atlased
Expected result: Sprites are all batched together regardless of secondary texture order when included in Sprite Atlas
Actual result: Sprites are not batched together due to secondary texture order even when included in Sprite Atlas
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
- Label is not centered when using flex-direction: row
- Incorrect initial target position when the Skinning Editor's "Depth" parameter is adjusted on a bone which is set as the "Effector" parameter on the "Limb Solver 2D" Component
- The order of activation for Water Deformers and Foam Generators will cause water artefacts in the Player
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play mode on a specific project
- [Linux] Crash on 'PPtr<RuntimeAnimatorController>::operator RuntimeAnimatorController*() const' when saving a new animation file
Resolution Note:
Closed as a duplicate of:
https://issuetracker.unity3d.com/issues/2d-sprite-mismatch-in-secondary-texture-order-for-sprites-in-scene-causes-draw-batching-to-break
Backport created targeting 2021.2 to track fix for this issue