abuki Problem statement The mesh in animation is deformed for a few frames after upgrade to 4.2 See attached video. Attaching also isolated anonymized Spine and Unity project. It only appears when the separator is enabled. I can make it work by deleting all meshes in the spine project or deleting some keys in the animation, but I was unable to isolate any single mesh or key that is producing that. It starts in the animation around frame #1200, that means after 40s, but you can see it clearly when setting timeScale = 5 (faster for testing) The same problem never appeared on any other skeleton we have in our project. Runtime information Latest 4.2, updated 2024-05-17 Video: Spine project: spine-skeleton.zip578kB Unity project: spinetestunity.zip3MB
Spinebot It seems like you are experiencing an issue with mesh deformation when using the separator after upgrading to Spine 4.2. Here are a few steps you can take to troubleshoot and potentially resolve the issue: Update to the Latest Version: Ensure that you are using the latest version of the Spine editor and the spine-unity runtime. You can download the latest versions from Spine Unity Download. Re-export the Spine Project: Sometimes re-exporting the Spine project can resolve issues. Try re-exporting your Spine project and then re-importing it into Unity. Check for Known Issues: There might be known issues related to mesh generation and separators in the latest version. You can check the Spine Runtimes GitHub Issues for any related issues and their resolutions. Disable and Re-enable Render Separator: As a workaround, you can try disabling and re-enabling the Enable Render Separator option in the SkeletonRenderSeparator component. This has been known to resolve similar issues in the past. Minimal Reproduction Project: If the problem persists, try to create a minimal reproduction project that isolates the issue. This can help in identifying whether the problem is with a specific mesh or key in the animation. Contact Support: If none of the above steps resolve the issue, you can send your project files to the support team for further investigation. Make sure to include a brief description of the issue and any steps you have already taken to troubleshoot it. Here is a summary of the steps you can take to troubleshoot the issue: Ensure you are using the latest versions of the Spine editor and spine-unity runtime. Re-export your Spine project and re-import it into Unity. Check for known issues on the Spine Runtimes GitHub. Try disabling and re-enabling the Enable Render Separator option. Create a minimal reproduction project to isolate the issue. Contact support with your project files if the issue persists.
Harald @abuki We're sorry for the troubles! Thanks for reporting and providing a reproduction Unity project up front, we could reproduce the issue. We've created an issue ticket here: EsotericSoftware/spine-runtimes2532 We will get back to you here on the forum as soon as we've figured out what's going wrong.
Harald @abuki FYI: The issue seems to only occur with #define SLOT_ALPHA_DISABLES_ATTACHMENT active in MeshGenerator.cs line 42, so you might want to disable this define locally in your installation until we have released a proper bugfix for the issue.
Harald @abuki We have just found the cause of the issue and pushed a bugfix to the 4.2 branch. A new spine-unity 4.2 unitypackage is available for download: https://esotericsoftware.com/spine-unity-download Please let us know if this resolves the issue for you as well. Thanks again for reporting!