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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8