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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
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