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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1224388