15-01-2018, 04:37 AM
Hi,
I am using Obi Rope and when I compile my project, it fails. I get a total of 4 errors, all of which are related to shaders. I could not solve it or find any resource online to solve it. Below are my errors. I am not going to post the code since you already have it. Please reply soon as possible I am on a tight deadline and have already spent quite sometime trying to solve this but to no avail. Thank you.
Error 1:
Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d9)
Compiling Vertex program with DIRECTIONAL LIGHTMAP_ON SHADOWS_SHADOWMASK
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
Error 2:
Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d11)
Compiling Vertex program with DIRECTIONAL LIGHTMAP_ON SHADOWS_SHADOWMASK
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
Error 3:
Shader error in 'Obi/Simple Particles': invalid subscript '_ShadowCoord' at line 68 (on d3d9)
Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK
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
Error 4:
Shader error in 'Obi/Simple Particles': invalid subscript '_ShadowCoord' at line 68 (on d3d11)
Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK
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
I am using Obi Rope and when I compile my project, it fails. I get a total of 4 errors, all of which are related to shaders. I could not solve it or find any resource online to solve it. Below are my errors. I am not going to post the code since you already have it. Please reply soon as possible I am on a tight deadline and have already spent quite sometime trying to solve this but to no avail. Thank you.
Error 1:
Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d9)
Compiling Vertex program with DIRECTIONAL LIGHTMAP_ON SHADOWS_SHADOWMASK
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
Error 2:
Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 82 (on d3d11)
Compiling Vertex program with DIRECTIONAL LIGHTMAP_ON SHADOWS_SHADOWMASK
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
Error 3:
Shader error in 'Obi/Simple Particles': invalid subscript '_ShadowCoord' at line 68 (on d3d9)
Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK
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
Error 4:
Shader error in 'Obi/Simple Particles': invalid subscript '_ShadowCoord' at line 68 (on d3d11)
Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK
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