Search Issue Tracker
By Design
Votes
1
Found in
6000.0.5f1
Issue ID
UUM-73318
Regression
No
Draw call batching does not work when using identical Sprite Renderers in URP
Reproduction steps:
1. Open the attached “SpriteBatch.zip” project
2. Enter the Play mode
3. Open the Profiler (Window > Analysis > Profiler)
4. Click on the “Rendering” Module
5. Observe the “(Dynamic Batching) Batched Draw Calls” value
Expected result: “(Dynamic Batching) Batched Draw Calls” value is equal to 4
Actual result: “(Dynamic Batching) Batched Draw Calls” value is equal to 0
Reproducible with: 2023.1.0a11, 6000.0.5f1
Not reproducible with: 2021.3.39f1, 2022.3.32f1, 2023.1.0a10
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note: Reproducible on a new project
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
In https://unity.com/releases/editor/alpha/2023.1.0a18 we introduced SRP-Batching for 2D Renderers. Previously when Sprites are dynamic-batched draw-calls are reduced. SRP-Batcher is focused on reducing CPU costs but may result in more draw-calls. Hence the difference in draw-calls.