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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8