Obi Official Forum

Full Version: Compile Error: invalid subscript '_ShadowCoord'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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