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
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
- Shader Graph validation errors are not pointing to the right implementation
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8