How to reproduce:
1. Create a new High Definition 3D project
2. Open the “OutdoorsScene”
3. Open the HDRP tab in the Project Settings window (Edit → Project Settings)
4. In the HDRP tab, enable the Realtime Raytracing feature
5. Select the “Sky and Fog Volume” GameObject in the Hierarchy
6. In the Inspector, click on Add Override and add the Screen Space Global Illumination feature
7. Enable the state of the feature and set the Tracing parameter to the “Ray Tracing”
8. Observe the Console
Expected result: No errors appear in the Console
Actual result: “Please fix all the compilation errors for Ray Tracing Shader "RayTracingIndirectDiffuse_APVL1"!“ error appears in the Console
Reproducible in: 6000.0.2f1, 6000.0.9f1
Not reproducible in: 2021.3.40f1, 2022.3.36f1, 6000.0.1f1
Reproducible on: Windows 11
Not reproducible on: Windows 10
Note: Consistent reproduction is only possible in newly created projects
None: The regression was introduced by this PR: [Internal link]