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)
Comments (2)
-
Novack
Sep 25, 2024 00:59
Reproduced on linux, editor version 2022.3.40f1
-
Novack
Sep 25, 2024 00:58
This still happens on linux editor.
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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
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