I’m getting this following error every time I try to build.
Shader error in 'Standard (Roughness setup)': 'RoughnessSetup_Reflectivity' : no matching overloaded function found at /Program Files/Unity/Editor/Data/CGIncludes/UnityStandardCoreForwardSimple.cginc(111) (on gles)
Shader error in 'Standard (Roughness setup)': undeclared identifier 'RoughnessSetup_Reflectivity' at /Program Files/Unity/Editor/Data/CGIncludes/UnityStandardCoreForwardSimple.cginc(111) (on gles3)
Along with these I get weird error messages as below
I am unable to build my project and I get this error every time. I tried installing different unity versions, cleared library folder but still unable to fix this.
Hey there, I realize this is a late reply, But to Counter this error, get ride of Standard(Roughness Setup) shaders, they seem to be not working for android, Replacing it with normal Standard shader fixed the problem for me
Not true. I use the Standard(Roughness Setup) and build it for Android and it is working just fine. So, it is not because of the Standard(Roughness Setup). I use the latest unity version
I have no idea why the bug happens, but the way to fix it for me was to uncheck ‘Auto Graphics API’ and removing + re-adding the Graphic API’s. (Vulkan, OPENGLES2)
If you are using a Terrain. then it must the root of this problem.
i am using 2017.3.1f and it does build without terrain ( default settings ) but with terrain it gives the standard shader error .