Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
8.1.0
Issue ID
1244558
Regression
No
[URP] Setting Shader properties on material instances via script does not work when SRP Batcher is enabled
How to reproduce:
1. Open the attached 'project-1233558.zip' project and load the 'SRPBatching' scene
2. Locate 'UniversalRP-HighQuality' RP asset and disable SRP Batcher
3. Enter Play mode and observe the color of Spheres
4. Exit Play mode
5. Enable SRP Batcher on the same RP asset
6. Enter Play mode and observe the color of Spheres
Expected result: Spheres' colors are the same with and without SRP Batcher being enabled
Actual result: Spheres' colors are NOT the same with and without SRP Batcher being enabled
Reproducible with: 2019.3.14f1 (7.3.1), 2020.1.0b9, 2020.2.0a11 (8.0.1, 8.1.0)
Could not test with: 2018.4.22f1 (custom ShaderGraph errors)
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
This is a duplicate of issue #1224388