Reproduction steps:
1. Open the attached “repro_IN-71109“ project
2. Open the “SampleScene“
3. Select the “/Assets/Settings/URP-Balanced.asset“ and, under the “Rendering”, enable the “SRP Batcher“
4. Enter the Play Mode
5. Observe the Game view
Expected result: Half of the “Sphere“ GameObjects change their visual appearance
Actual result: All of the Sphere“ GameObjects change their visual appearance
Reproduced with: 2021.3.36f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b12
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Player
- Making the Timer shader variable declaration be per material fixes the issue
- If you’re not able to see the “SRP Batcher“ parameter, make sure that the “Visibility“ is set to “All Visible“ in the “Edit → Preferences → Core Render Pipeline“