This version of Unity is unsupported.
Removed in version 2018.4.36

Joint2D.collideConnected

Obsolete Joint2D.collideConnected has been deprecated. Use Joint2D.enableCollision instead.
Upgrade to enableCollision
public bool collideConnected;

Description

Can the joint collide with the other Rigidbody2D object to which it is attached?

See Also: Rigidbody2D class, connectedBody.