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
Comments (1)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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."