Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile Error: invalid subscript '_ShadowCoord'
#1
I'm using Unity 2017.3.1.f1.

In searching for this error, I see it was mentioned in the Obi Rope forum in late January. I checked the suggested solution and it appears that they are as they should be:

"Obi/Resources/ObiMaterials/ParticleShader.shader, line 20 should look like this:
#pragma multi_compile_fwdbase nolightmap"

The error follows:

Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d11)

Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK LIGHTPROBE_SH
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS 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_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING
Reply