Search Issue Tracker
Fixed in 7.2.0
Votes
0
Found in [Package]
7.2.0
Issue ID
1218345
Regression
Yes
[HDRP][XR] Hidden/HDRP/Blit shader does not compile for Stereo Instancing
The error below prevents me from building a Windows Standalone player with this configuration:
- Unity Editor and HDRP Template project from PR 100587 (https://ono.unity3d.com/unity/unity/pull-request/100587/_/2019.3/update-srp-2.0)
- XRSDK (aka XR Plugin Management package)
- Oculus XR Plugin
- Single Pass Instanced stereo mode (if MultiPass is chosen then player builds and runs)
- Either released SRP 7.2.0, or internal SRP 7.2.0 (branch: 7.2.x/release, commit: 501515a).
Shader error in 'Hidden/HDRP/Blit': Output variable VertQuadPadding contains a system-interpreted value (SV_RenderTargetArrayIndex) which must be written in every execution path of the shader. Unconditional initialization may help. at line 60 (on d3d11)
Compiling Vertex program with STEREO_INSTANCING_ON
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment