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
- A NullReferenceException error is thrown when extracting textures from an FBX
- “Convert To Subgraph Operator” option is capitalised incorrectly in VFX Graph
- "Toggle all debug panels" shortcut throws “NullReferenceException: Object reference not set to an instance of an object” error
- Rect Transform values are set to NaN when scaling UI element with centered scaling
- "Local Volumetric Fog" Component's "Inherit from Hierarchy" mode doesn't support negative "Scale" on the "Transform" Component
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8