This version of Unity is unsupported.

Terrain.lightmapIndex

public int lightmapIndex;

Description

The index of the baked lightmap applied to this terrain.