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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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."