Search Issue Tracker
Fixed in 2022.2.X
Votes
8
Found in
2019.4
2019.4.29f1c1
2020.3
2021.1
2021.2
2022.1
Issue ID
1364035
Regression
No
[URP] SRP Batcher doesn't batch Materials in ShadowCaster Pass when Emmision is enabled on one of them
How to reproduce:
1. Create New URP Project
2. Create and open a New Scene
3. Place 2 Cubes in the scene
4. Create 2 Materials
5. Assign Materials to different Cubes
6. Enable Emission in one of the Materials
7. Change the Emission Color to any except 0,0,0
8. Open Frame Debugger (Window -> Analysis -> Frame Debugger)
9. Enable Frame Debugger
Expected result: There is 1 SRP Batch in Render Main Shadowmap -> ShadowLoopNewBatcher.Draw with 2 Draw Calls
Actual result: There isn't 1 SRP Batch in Render Main Shadowmap -> ShadowLoopNewBatcher.Draw with 2 Draw Calls
Reproducible with: 7.7.1 (2019.4.31f1), 10.6.0 (2020.3.21f1), 11.0.0 (2021.1.24f1), 12.0.0 (2021.2.0b16), 13.0.0 (2022.1.0a12)
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 (fix version 2022.2):
Fixed in: 2022.2.0a8