This version of Unity is unsupported.
Method group is Obsolete

SpherecastCommand.layerMask

Obsolete Layer Mask is now a part of QueryParameters struct. public int layerMask;

Description

The LayerMask that selectively ignores Colliders when casting a sphere.