Search Issue Tracker

Fixed in 9.0.0.

Votes

0

Found in [Package]

7.2.0

Issue ID

1219371

Regression

Yes

[HDRP] Compute Shader compilation errors are thrown continuously on disabling Graphics APIs checkbox

Package: Scriptable Render Pipeline HD

-

-Nothing is rendered in Game view and Scene view with Compute Shader compilation errors in the console.
-After enabling Graphics APIs checkbox nothing is rendered. There is no workaround.

Steps to repro:
1. Create a new Project with HDRP Template.
2. Windows > Package Manager > HIgh Definition RP > Update to Version 7.2.0.
3. File > Build Settings > Player Settings.
4. Other Settings > Uncheck "Auto Graphic API for Windows" checkbox.

Actual Result:
Compute Shader compilation errors are thrown, Scene and Game views are not rendered.

Expected Result:
No Console errors are thrown, Scene and Game views are rendered correctly.

Reproducible in:
2020.1.0a24(79162fef2e73), 2020.1.a21 with Package Version 7.2.0.

Working Fine with:
2020.1.0a24(79162fef2e73), 2020.1.a21 with Package Version 7.1.8, 7.1.7.
2019.3.2f1 with Package version 7.2.0, 7.1.8, 7.1.7.

Environment:
Only on Windows 10.

Stack trace:
Exception: Compute Shader compilation error on platform D3D in file DepthOfFieldKernel.compute:2: failed to open source file: 'DepthOfFieldCommon.hlsl' at kernel KParametricBlurKernel
HDRP will not run until the error is fixed.

UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ValidateResources () (at library/packagecache/com.unity.render-pipelines.high-definition@7.2.0/runtime/renderpipeline/hdrenderpipeline.cs:535)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline..ctor (UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset asset, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset defaultAsset) (at library/packagecache/com.unity.render-pipelines.high-definition@7.2.0/runtime/renderpipeline/hdrenderpipeline.cs:351)
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.CreatePipeline () (at library/packagecache/com.unity.render-pipelines.high-definition@7.2.0/runtime/renderpipeline/hdrenderpipelineasset.cs:33)
UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () (at <d5e5421cec04493ab31573d3ed5240d7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

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.