It seems like the issue with your custom IK script might be related to changes in the spine-unity runtime between versions 4.1 and 4.2. To troubleshoot this, you can try the following steps:
- Re-import the spine-unity package: Ensure that you have a clean installation of the spine-unity-4.2-2024-07-19 package. Sometimes, issues arise from incomplete or corrupted imports.
- Check for changes in IKConstraints.cs: Since your custom script is based on
SkeletonUtilityGroundConstraint.cs
, there might be changes in the underlying IK handling in the new version. Compare the IKConstraints.cs
file between the two versions to identify any significant changes.
- Test in a clean project: Create a new Unity project and import the spine-unity-4.2-2024-07-19 package. Then, add your custom IK script to see if the issue persists. This can help isolate whether the problem is with the project setup or the script itself.
If you still encounter issues, you can share your sample package/project for further investigation. You can send it as a zip package to contact@esotericsoftware.com
, briefly mentioning this context so that the team can have a look at it.