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
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
This is a duplicate of issue #1224388