Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Build error "Shader error in 'Standard (Backfaces)'"
#1
When doing a build and run I am getting this error with the latest asset version:

Shader error in 'Standard (Backfaces)': invalid output semantic 'TEXCOORD8': Legal indices are in [0,7] invalid vs_2_0 output semantic 'TEXCOORD8' at Assets/Obi/Resources/ObiMaterials/UnityStandardCoreBackfaces.cginc(351) (on d3d9)

Compiling Vertex program with DIRECTIONAL
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_COLORSPACE_GAMMA


Error building Player: Shader error in 'Standard (Backfaces)': invalid output semantic 'TEXCOORD8': Legal indices are in [0,7] invalid vs_2_0 output semantic 'TEXCOORD8' at Assets/Obi/Resources/ObiMaterials/UnityStandardCoreBackfaces.cginc(351) (on d3d9)

Compiling Vertex program with DIRECTIONAL
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_COLORSPACE_GAMMA
Reply
#2
(29-08-2017, 07:05 PM)RoryMakarov Wrote: When doing a build and run I am getting this error with the latest asset version:

Shader error in 'Standard (Backfaces)': invalid output semantic 'TEXCOORD8': Legal indices are in [0,7] invalid vs_2_0 output semantic 'TEXCOORD8' at Assets/Obi/Resources/ObiMaterials/UnityStandardCoreBackfaces.cginc(351) (on d3d9)

Compiling Vertex program with DIRECTIONAL
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_COLORSPACE_GAMMA


Error building Player: Shader error in 'Standard (Backfaces)': invalid output semantic 'TEXCOORD8': Legal indices are in [0,7] invalid vs_2_0 output semantic 'TEXCOORD8' at Assets/Obi/Resources/ObiMaterials/UnityStandardCoreBackfaces.cginc(351) (on d3d9)

Compiling Vertex program with DIRECTIONAL
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_COLORSPACE_GAMMA

Hi!

Based on the error, we suppose you're using DX9 as rendering API, right? probably this is due to lack of texture units in DX9.

We'll take a look at it. However if you're not using this particular shader (if you don't know, chances are you aren't) you can just delete it. It won't affect regular rope simulation or rendering at all.

Alternatively you can just switch to DX11, which will allow the shader to use more texture units.
Reply