Shader dose not work in Unity4x


Iv been working on my Game for 3 years now, and now I upgraded from Unity 3.5.7 to Unity 4.6.1 and my most used shader has gone dead, it dose not use any of its functions the slots are there but they don’t work :frowning:

Here is my Shader script, is there anyway someone can make this function with Unity 4x versions?? or rewrite it in a different way to make it work? Sorry I’m not really a coder :stuck_out_tongue:

Shader "HardSurface/Hardsurface Free/Opaque Specular"{
Properties {
	_Color ("Main Color", Color) = (1,1,1,1)
	_SpecColor ("Specular Color", Color) = (1, 1, 1, 1)
	_Shininess ("Shininess", Range (0.01, 3)) = 1.5
	_Gloss("Gloss", Range (0.00, 1)) = .5
	_Reflection("Reflection", Range (0.00, 1)) = 0.5
	_Cube ("Reflection Cubemap", Cube) = "Black" { TexGen CubeReflect } 
	_FrezPow("Fresnel Reflection",Range(0,2)) = .25
	_FrezFalloff("Fresnal/EdgeAlpha Falloff",Range(0,10)) = 4
	_EdgeAlpha("Edge Alpha",Range(0,1)) = 0
	_Metalics("Metalics",Range(0,1)) = .5
	_MainTex ("Diffuse(RGB) Alpha(A)",2D) = "White" {}
	_BumpMap ("Normalmap", 2D) = "Bump" {}
	_Spec_Gloss_Reflec_Masks ("Spec(R) Gloss(G) Reflec(B)",2D) = "White" {}
SubShader {
	Tags {"Queue"="Geometry" "RenderType"="Opaque" "IgnoreProjector"="False" }
	UsePass "Hidden/Hardsurface Pro Front Opaque Specular/FORWARD"
	Fallback "Diffuse"

Thanks in advance!!!

This shader doesn’t actually do anything other than call the forward pass from the “Hidden/Hardsurface Pro Front Opaque Specular” shader, so I suspect the problem lies there… also, for future reference “shader has gone dead” is not a very specific description to let people help solve your problem? Do you get an error message? Does everything turn magenta? Does anything happen at all?