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

Package: SRP HD Template

-

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

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.