This version of Unity is unsupported.

TrailRenderer.positionCount

Switch to Manual
public int positionCount;

Description

Get the number of line segments in the trail.