Oh dear, thanks for reporting and sorry for the troubles! This is actually a bug where we once fixed different behaviour of Joint
components in Unity 2019.2+, but these changes seem to have been reverted back again in 2020.3 at least. We will perform some tests with different Unity versions and then submit a bugfix. If you are in a hurry you can simply comment out the line #define HINGE_JOINT_NEW_BEHAVIOUR
here.
I've even tried custom bounding boxes in Spine but I can't find any way to restrict the rotations.
Creating bounding box attachments in the Spine Editor does not have any effect on the Unity Joint
components spawned by the SkeletonRagdoll
example components.
This bug has just been fixed, a new 4.0 unitypackage is available here as usual:
Spine Unity Download
Please let us know if this fixes the issue on your end as well. Thanks again for reporting!
Issue ticket for later reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/1977