Search Issue Tracker

Fixed in 12.0.0



Found in [Package]


Issue ID




VFX OpenGLES3 error when compiling shaders unexpected token '#' at kernel CSMain

Package: Visual Effect Graph


Reproduction steps:
1. Open the attached project “”
2. Go to Edit > Project Settings > Player
3. In Other Settings select OpenGLES3 Graphics API
4. Go to File > Build Settings
5. Build application for Android and observe the Console window

Expected result: Build successful, no errors in the Console window
Actual result: Build fails, error is thrown in the Console window: “Shader error in '[SimpleRibbon] [Ribbon] Initialize Particle Strip': syntax error: unexpected token '#' at kernel CSMain at C:/Users/%username%/Desktop/GraphicsTests/EndToendTests/URPIntegrationTests/Library/PackageCache/com.unity.visualeffectgraph@12.0.0/Shaders/VFXCommon.hlsl(123) (on gles3)”

  1. Response avatar

    Resolution Note (fix version 12.0.0):

    Fixed in: 2021.2.0b16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.