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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
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