This version of Unity is unsupported.

Animator.hasTransformHierarchy

Switch to Manual
public bool hasTransformHierarchy;

Description

Returns true if the object has a transform hierarchy.

This value is based on the Optimize GameObject property in the Model Importer.