This version of Unity is unsupported.

ParticleSystem.ShapeModule.meshMaterialIndex

Switch to Manual
public int meshMaterialIndex;

Description

Emit particles from a single material of a mesh.