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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment