Search Issue Tracker

By Design

Votes

0

Found in [Package]

12.0.0

Issue ID

1360035

Regression

No

SRP Batcher isn't compatible when setting the Graphics API for Window to OpenGLES3

Package: Scriptable Render Pipeline Universal

-

Reproduction steps:
1. Open the attached project "SRPBatcherCompatible.zip"
2. From the Project tab, open Assets/TestSRPBatchCompatibleInDifferentGraphicsAPI.shader in the Inspector window
3. Observe the SRP Batcher in the Inspector window

Expected results: SRP Batcher is compatible
Actual results: SRP Batcher is not compatible

Reproducible with: 7.7.1 (2019.4.30f1), 10.6.0 (2020.3.18f1), 11.0.0 (2021.1.20f1), 12.0.0 (2021.2.0b11, 2022.1.0a8)

  1. Resolution Note:

    To be SRP Batcher compatible, all properties declared in UnityPerMaterial should also be declared in the shader property section.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.