Weird Shader error log

Hi,

I am currently using the por version of unity version 2.5.1. I’ve got custom shaders in my projects which seem to work but when the editor process them, i get an error message saying “!ce.pixelShader” (Assert in file GfxDevice\d3d\CombinerD3D.cpp at line 457). I can’t find out why i get this message.

here is the code of my shader :

Shader "Body Shader" {
	Properties {
		_MainTex ("Base (RGB) Trans (A)", 2D) = "black" {}
      	_DirtBlend ("DirtBlend", Range(0.0,1.0)) = 1.0 
		_SocksTex ("Socks (RGB)  Trans (A)", 2D) = "black" {}
		_PantsTex  ("Pants (RGB) Trans (A)", 2D) = "black" {}
		_ShirtTex ("Shirt (RGB) Trans (A)", 2D) = "black" {}
		_NeckTex ("Necklace (RGB) Trans (A)", 2D) = "black" {}
		_ArmsTex ("Arms (RGB) Trans (A)", 2D) = "black" {}
	}
	SubShader {
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_SocksTex] {
				constantColor (0,0,0,[_DirtBlend])
				Combine texture , texture * constant
			} 
			SetTexture [_MainTex] {
				Combine previous lerp(previous) texture, texture + previous
			}
			SetTexture [_PantsTex] {
				Combine texture lerp(texture) previous, previous + texture
			}
			SetTexture [_ShirtTex] {
				Combine texture lerp(texture) previous, previous + texture
			}
		} 
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_NeckTex] {
				Combine texture,texture
			}
			SetTexture [_ArmsTex] {
				Combine texture lerp(texture) previous, previous + texture
			}
		} 
	} 
	SubShader {
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_MainTex] {
				Combine texture,texture
			}
		}
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_SocksTex] {
				Combine texture,texture
			}
		}
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_PantsTex] {
				Combine texture,texture
			}
		}
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_ShirtTex] {
				Combine texture,texture
			}
		}
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_NeckTex] {
				Combine texture,texture
			}
		}
		Pass {
			Blend SrcAlpha OneMinusSrcAlpha 
			SetTexture [_ArmsTex] {
				Combine texture,texture
			}
		}
	} 
	
	FallBack "Diffuse", 1
}

Please let me know if i am doing something wrong. I currently have random crashes with my web applications and i wonder if there is a link between those crashes and this error message

Thx

First, try upgrading to 2.6.1. If this doesn’t fix it, you should file a bug report.