This version of Unity is unsupported.

AnimatorControllerLayer.stateMachine

public Animations.AnimatorStateMachine stateMachine;

Description

The state machine for the layer.

When using Synced Layer, this state machine is overridden by the state machine of the synced layer.