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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
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