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
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
- No option to skip video transcoding when launching a Project
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
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