Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1.28f1
2021.2
2022.1
Issue ID
1387222
Regression
No
[Android][SRP] SRP Batcher draw call is not shown in the Frame Debugger even if the Shader used is SRP Batcher compatible
Reproduction steps:
1. Open the attached user's project "TinyVRSRP_SRPBatcher.zip"
2. Check to see that the "Assets/VRSRP.shader" is SRP Batcher compatible in the Inspector Window
3. Disable the Oculus plugin under the XR-Management in Player Settings
4. Build and run a development build on an Android device
5. Attach the frame debugger
6. Inspect the draw call in the Frame Debugger
Expected result: If Shader is not fully SRP compatible UI shows a reason why
Actual result: SRP Batcher draw call is not shown in the Frame Debugger even if the Shader used is SRP Batcher compatible (See attached Results.png)
Reproduces on: 2019.4.34f1, 2020.3.24f1, 2021.2.7f1, 2022.1.0b2
Reproducible with these devices:
VLNQA00091 - Google Pixel 2 XL (Pixel 2 XL), OS: 11.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno 540
VLNQA00231 - HUAWEI Mate 20 Pro (LYA-L29), OS: 9.0.0, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00413 - samsung Galaxy Note10+ (SM-N975F), OS: 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00202 - Samsung Galaxy Note 9 USA (SM-N9600), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00177 - Xiaomi Mi Note 2 (Mi Note 2), OS: 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno 530
VLNQA00406 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
Notes:
-It appears that there is an issue with the shader, and the issue is not being reported by the UI. It is expected that if the shader is not fully SRP compatible then the UI will show a reason why
-Universal Render Pipeline Lit shader works as expected, but simple custom shaders exhibit this bug in both URP and custom SRPs
-Issue does not reproduce in the Editor
-Issue reproduces with Quest 1/2
-Reproducible with OpenGLES 3/2 and Vulkan
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.2.X):
The shader that is causing the issue is including the shader library of the built-in render pipeline. It is not compatible with SRP.
It happens to work anyway in some cases, but not on all platforms and only for some shaders.