Here is the error Unity is reporting.
- Code: Select all
Shader error in 'ASETemplateShaders/Legacy/Particles Alpha Blended': syntax error: unexpected token ')' at line 114 (on glcore)
Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING
Upon loading the shader in my text editor I find there is a stray period '.' ... in between some parenthesis. If I delete the period and save, the shader hten works. The issue here is.. Every time I make a change in the node graph I have to repeat this process. Does anyone know wtf is goin gon here?
Here is the line in the text code.
- Code: Select all
float4 appendResult23_g15 = (float4(break32_g15.x , break32_g15.y , (temp_output_14_0_g15).));
Notice the (temp_output_14_0_g15).)); <-- that period is bad news.
Seth