Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.4.X
Votes
3
Found in
5.6.0f1
Issue ID
919351
Regression
No
Shader does not compile under GLSL due to miscompilation
Steps to reproduce:
1. Open the attached project(ShaderTest.zip)
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
Note:
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 (13)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
susanalisa247
Sep 24, 2020 07:25
I also faced this issue in my website gameive.com and i tried the same technique and it resolved.
Ghost_101010
Jan 05, 2019 08:52
Not fixed ,Reproduced with
2017.4.14 f1
2017.4.16 f1
2017.4.17 f1 LTS
2018.1.0f2
2018.3.0f1
Ghost_101010
Jan 05, 2019 08:52
Not fixed ,Reproduced with
2017.4.14 f1
2017.4.16 f1
2017.4.17 f1 LTS
2018.1.0f2
2018.3.0f1
Ghost_101010
Jan 05, 2019 08:49
Not fixed ,Reproduced with
2017.4.14 f1
2017.4.16 f1
2017.4.17 f1 LTS
2018.1.0f2
2018.3.0f1
coen22
Feb 19, 2018 15:15
This issue also occurs in 2017.3 and the 2018.1 beta.