Search Issue Tracker
Not Reproducible
Votes
0
Found in
2022.2.0a3
Issue ID
1407427
Regression
Yes
Compute Shader compilation error is thrown when importing HDRP
How to reproduce:
1. Create a new empty project
2. Go to Window -> Package Manager -> Unity Registry -> High Definition RP -> Import
3. In the HDRP Wizard window, select "Fix All"
4. Observe the Console after import
Expected result: no compilation errors are thrown
Actual result: Exception: Compute Shader compilation error on platform Metal in file <...>: undeclared identifier 'LinearToSRGB' at kernel AmbientProbeConvolutionDiffuseVolumetric
Reproducible with: 2022.2.0a3, 2022.2.0a7
Not reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
mgear
Apr 05, 2022 19:00
same here, 2022.2.0a9 + HDRP 14.0.2, "com.unity.render-pipelines.core@14.0.2/ShaderLibrary/SphericalHarmonics.hlsl:103: undeclared identifier 'LinearToSRGB' at kernel BlendStates
HDRP will not run until the error is fixed."