Search Issue Tracker

Fixed in 2018.1.X

Votes

0

Found in

5.5.0xb5

Issue ID

842658

Regression

No

[Linux Editor] Shader fails to compile on Linux

Linux

-

Shader fails to compile on Linux. It compiles fine on OSX (bot use OpenGL Core profile).

Steps to reproduce:
1) Open the latest attached project.
2) Try to recompile UnlitTextureColored.shader.

Error pops up in the console:
Shader error in 'NAKAI/Unlit/Texture Colored': 'constructor' : too many arguments at line 55 (on opengl)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP

Reproduced on:
5.5.0xb5, 5.4.1f1, 5.3.6f1
______
FIXED ON 5.6.2f, but may fail due to Case 991968

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.