This version of Unity is unsupported.

Animator.velocity

Switch to Manual
public Vector3 velocity;

Description

Gets the avatar velocity for the last evaluated frame.

Animator.applyRootMotion must be enabled for velocity to be calculated.