Search Issue Tracker
Fixed in 13.1.1
Votes
1
Found in [Package]
2019.3.2f1
2019.4
2020.1
2020.2
Issue ID
1261542
Regression
No
Multiple 'Render Main Shadowmap' -> '... Draw' -> 'SRP Batch' are present when the materials only have different properties
How to reproduce:
1. Open attached project "BatchTestProject.zip" with -force-gles32 argument command
2. Open scene "BatchTest"
3. Open and enable Window -> Analysis -> Frame Debugger
4. In Project window, select and observe two materials "New Material 1" and "New Material" (all the values are the same)
5. Observe Frame Debugger -> Render Main Shadowmap -> ShadowLoopNewBatcher.Draw -> SRP Batch (only single SRP Batch is present)
6. In Project window, select "New Material"
7. Change any value
8. Observe Frame Debugger -> Render Main Shadowmap -> ShadowLoopNewBatcher.Draw -> SRP Batch
Expected result: only one SRP Batch is present
Actual result: two SRP Batches are present
Reproducible with: 2019.4.3f1 (URP 7.3.1), 2020.1.0b16 (8.1.0), 2020.2.0a10 (9.0.0-preview.35)
Could not test with: 2018.4.25f1 (4.10.0-preview), 2020.2.0a11, 2020.2.0a17 (the Editor crashes upon load up due to other bug)
Multiple 'Render Main Shadowmap' -> '... Draw' -> 'SRP Batch'es are present when multiple materials with different properties are present
Comments (2)
-
pensionerov
Mar 21, 2022 15:10
Is it possible to backport the fix to the latest LTS release?
-
Alan-Liu
Aug 15, 2021 05:27
Can the fix be backported to 2019.4?
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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Resolution Note (fix version 13.1.1):
Fixed in 2022.1.0a16
Resolution Note:
Fixed in 2020.1.7f1