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
- SpeedTree importer fails to import .st files when path to the project includes a special character
- [VFX Graph] HSLS Redefinition error when input have the same name as attributes
- [VFX Graph] HLSL VFXFIXED_RAND isn't working
- Crash on Meta Quest 2 when using Vulkan
- Greyed out Icon for Tool Context is misaligned in the Tools Overlay in the URP 3D Sample Template
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."