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
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)
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
To be SRP Batcher compatible, all properties declared in UnityPerMaterial should also be declared in the shader property section.