This version of Unity is unsupported.

Rigidbody2D.worldCenterOfMass

Switch to Manual
public Vector2 worldCenterOfMass;

Description

Gets the center of mass of the rigidBody in global space.