Search Issue Tracker

Fixed in 10.3.1

Votes

0

Found in [Package]

10.1.0

Issue ID

1289339

Regression

Yes

[HDRP] GetSurfaceAndBuiltinData error when creating Custom Renderer Pass shader

Package: Scriptable Render Pipeline HD

-

Reproduction steps:
1. Open attached project "PassHDRP.zip"
2. In Editor menu, select Assets -> Create -> Shader -> HDRP -> Custom Renderers Pass
3. Observe Console window

Expected result: No error
Actual result: "Shader error in 'Renderers/NewRenderersCustomPass': 'GetSurfaceAndBuiltinData': output parameter 'surfaceData' not completely initialized at line 73 (on d3d11)" error

Reproducible with: 10.1.0 (2020.2.0b9), 10.2.0 (2020.2.0b13, 2021.1.0a7)
Not reproducible with: 7.5.1 (2019.4.16f1), 9.0.0-preview.71 (2020.1.15f1), 10.0.0-preview.27 (2020.2.0b9)
Could not test with: 2018.4.30f1 (console errors break project)

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.