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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
This is a duplicate of issue #1224388