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
- 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
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