This version of Unity is unsupported.

DistanceJoint2D.distance

Switch to Manual
public float distance;

Description

The distance separating the two ends of the joint.