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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.