This version of Unity is unsupported.

Rigidbody2D.collisionDetectionMode

Switch to Manual
public CollisionDetectionMode2D collisionDetectionMode;

Description

The method used by the physics engine to check if two objects have collided.