This version of Unity is unsupported.

ConfigurableJoint.angularZMotion

Switch to Manual
public ConfigurableJointMotion angularZMotion;

Description

Allow rotation around the Z axis to be Free, completely Locked, or Limited according to Angular ZLimit.