This version of Unity is unsupported.

Shader.subshaderCount

Switch to Manual
public int subshaderCount;

Description

Returns the number of SubShaders in this shader.