Search Issue Tracker
Fixed
Fixed in 2022.2.0b9, 2023.1.0a10
Votes
0
Found in
2022.2.0a16
2023.1.0a4
Issue ID
UUM-3644
Regression
No
Errors thrown when OpenGL Core is added to the list of Graphics APIs in the HDRP Template project
Steps to reproduce:
# Create a project from the HDRP Sample Scene Template
# Go to Project Settings
# Add OpenGLCore to the list of Graphics APIs for Windows (under Project Settings->Player)
Expected result: in case of pipeline/shader incompatibility an error should be thrown that makes it clear/nothing should happen.
Actual result: Various shaders fail to compile with errors like following
Shader error in '[SimpleHeadsAndTrails] [Trail Bodies] Initialize Particle Strip': syntax error: unexpected token '#' at kernel CSMain at C:/Projects/ET_RenderDoc_HDRP/Library/PackageCache/com.unity.render-pipelines.high-definition@14.0.3/Runtime/ShaderLibrary/ShaderVariablesFunctions.hlsl(118) (on glcore)
Shader error in '[SimpleSwarmParticleSystem] [Swarm] Initialize Particle': syntax error: unexpected token '#' at kernel CSMain at C:/Projects/ET_RenderDoc_HDRP/Library/PackageCache/com.unity.render-pipelines.high-definition@14.0.3/Runtime/ShaderLibrary/ShaderVariablesFunctions.hlsl(118) (on glcore)
Reproducible with: 2022.2.0a8 (HDRP 14.0.1), 2022.2.0a16 (HDRP 14.0.3)
Not reproducible with: 2022.1.4f1 (HDRP 13.1.8) 2022.2.0a7 (HDRP 14.0.0)
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
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Infinite inertial tensor rotation values are not discarded (both AB and RB)
Resolution Note (fix version 2023.1.0a10):
Verifiex fixed in 2023.1.0a10.1088_ce8bd7b0b232
Resolution Note (fix version 2022.2.0b9):
Fixed in 2022.2.0b9 HDRP 14.0.3