Problematic Initialization errors

What are these errors and how do I fix them?

This is the section of the shader that is being weird:

1126348--42559--$Screen Shot 2013-01-04 at 3.05.06 AM.png
1126348--42560--$Screen Shot 2013-01-04 at 3.05.32 AM.png

My guess is you need to specify an interpolator for all fields in the Input struct.

fixed4 vertexColor : TEXCOORD4;

The HLSL compiler is more strict than the Cg compiler, so you need to initialize the entire struct.
Luckily this is quite easy to solve in Unity.

From the Documentation:

void vert (inout appdata_full v, out Input o)  {
     UNITY_INITIALIZE_OUTPUT(Input,o);
     // ... 
}

Thanks, both of you!

RC-1290, I managed to fix it with UNITY_INITIALIZE_OUTPUT. You’re right, that is really easy =-)