Search Issue Tracker

Fixed in Unity 2018.1



Found in


Issue ID




Shader does not compile under GLSL due to miscompilation




Priority: 3Not yet prioritized for a release


Severity: 3Secondary functionality broken

Steps to reproduce:
1. Open the attached project(
2. Open Build Settings
3. Go to Player Settings -> Other Settings and uncheck Auto Graphics API for Windows
4. Add OpenGL and put it at the top of the list
5. Select the Debug shader in the Project window
6. Observe the error:
GLSL link error: Geometry info
0(3) : warning C7508: extension ARB_geometry_shader not supported
error: interpolation modifier mismatch for varying parameter (named vs_INDICES0) between shader stages

Expected result: Shader should compile
Actual result: Unity throws the error

Reproduced with GeForce GTX 750 TI
Does not reproduce on AMD R7 360. Shader does not turn pink. Only thrown an error is:
The given primitive topology does not match with the topology expected by the geometry shader

Reproduced with: 5.4.5p3, 5.5.4f1, 5.6.1p3, 2017.1.0b9, 2017.2.0a3

Comments (1)

  1. 4ff8d0e3c4aa85ff2efa36d0c6e9ff9b?d=mm


    Feb 19, 2018 15:15

    This issue also occurs in 2017.3 and the 2018.1 beta.

All about bugs

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