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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 13.1.1):
Fixed in 2022.1.0a16
Resolution Note:
Fixed in 2020.1.7f1