Search Issue Tracker

Fixed

Fixed in 6000.1.0b7, 6000.2.0a3

Votes

0

Found in

6000.2.0a2

Issue ID

UUM-96082

Regression

Yes

HDRP raytracing build fails and an error is thrown to the console when using the Build and Run option

-

Steps to reproduce:

  1. Create HDRP Core Template
  2. Setup ray-tracing for that project (switch gfx api to dx12, in HDRP asset and project settings enable raytracing)
  3. Hit Build and Run

Actual results: Build fails and errors are thrown

Expected results: Build runs successfully

Reproducible with versions: 6000.2.0a2

Not reproducible with versions: n/a

Can’t test with versions: n/a

Tested on (OS): windows 11

Notes:  Build succeeds when using 'Build' option

Errors:

Shader error in 'HDRP/Lit': Couldn't open include file 'Packages/com.unity.sensorsdk/Runtime/Sensors/PathTracing/SensorIntegrator.hlsl'. at /../../Library/PackageCache/com.unity.render-pipelines.high-definition@5e5836384f08/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl(2)

Compiling Subshader: 1, Pass: PathTracingDXR, RayTracing program with DECALS_4RT SENSORSDK_OVERRIDE_REFLECTANCE

Error building Player: Shader error in 'HDRP/Lit': Couldn't open include file 'Packages/com.unity.sensorsdk/Runtime/Sensors/PathTracing/SensorIntegrator.hlsl'. at /../../Library/PackageCache/com.unity.render-pipelines.high-definition@5e5836384f08/Runtime/RenderPipeline/ShaderPass/ShaderPassPathTracing.hlsl(2)

  1. Resolution Note:

    This issue may be addressed in Unity 6.

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.