Build error with Unity 2017
Posted: Tue Nov 28, 2017 12:44 am
Hello everyone!
Been using the product for awhile now and it works great! However, we recently updated to Unity 2017 and whenever I attempt to build my project I am getting a bunch of errors from shaders in Amplify Color. The strange thing being that it wall works fine when playing in the Editor. Not sure how to resolve this, we updated Amplify Color along with a bunch of other plugins so we have whatever the latest version is available on the Asset Store. Here are some of the errors:
Shader error in 'Hidden/Amplify Color/BaseLinear': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 24 (on d3d9)
Shader error in 'Hidden/Amplify Color/BaseLinear': invalid subscript 'uv' at line 24 (on d3d9)
Shader error in 'Hidden/Amplify Color/BaseLinear': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 24 (on d3d11)
Shader error in 'Hidden/Amplify Color/BaseLinear': invalid subscript 'uv' at line 24 (on d3d11)
That's just a few, a total of 35 errors occur. Anybody know what I can do to fix this? Let me know if you guys need more information.
Some Additional Information:
Unity Version: 2017.2.0f3
Platform: Being built on a Windows 10 machine for Windows
Been using the product for awhile now and it works great! However, we recently updated to Unity 2017 and whenever I attempt to build my project I am getting a bunch of errors from shaders in Amplify Color. The strange thing being that it wall works fine when playing in the Editor. Not sure how to resolve this, we updated Amplify Color along with a bunch of other plugins so we have whatever the latest version is available on the Asset Store. Here are some of the errors:
Shader error in 'Hidden/Amplify Color/BaseLinear': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 24 (on d3d9)
Shader error in 'Hidden/Amplify Color/BaseLinear': invalid subscript 'uv' at line 24 (on d3d9)
Shader error in 'Hidden/Amplify Color/BaseLinear': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 24 (on d3d11)
Shader error in 'Hidden/Amplify Color/BaseLinear': invalid subscript 'uv' at line 24 (on d3d11)
That's just a few, a total of 35 errors occur. Anybody know what I can do to fix this? Let me know if you guys need more information.
Some Additional Information:
Unity Version: 2017.2.0f3
Platform: Being built on a Windows 10 machine for Windows