• RuntimesUnity
  • Issue with blending while using multiple layers

I am currently having a small issue with blend. I have two animations running, one for the head and one for the body on two different layers. I set two other animations for these layers, but there seems to be a weird movement character head does during the blend. I suspect it's a problem with the asset we are using, but we don't really know how it's supposed to be made. Is there a way for me to send you this spine asset to check what could be happening?

  • इस पर Misaki ने जवाब दिया।
    Related Discussions
    ...

    It seems like you are experiencing issues with blending animations on different layers, which can sometimes be tricky due to how animations are layered and mixed. To diagnose the problem, it would be helpful to examine the Spine asset directly. You can send your Spine project assets, including the skeleton and animations, to Esoteric Software for a more detailed analysis. You can email the assets to contact@esotericsoftware.com, and they will be able to assist you further.

    @KPerev Please do not only send us your Spine project files, but send us a minimal Unity project as a zip file which still shows this issue, with a simple script which plays the problematic animations when entering play mode. Then we can have a look at what's going wrong.

    • इस पर KPerev ने जवाब दिया।

      KPerev Thank you for sending us your Spine project files. This is certainly not a Unity implementation issue, but an animation configuration issue, as it can be reproduced in the Preview view of the Spine editor.

      The animation that is causing the problem is changing the position of the head and face parts with the animation set to track 1 before the switches, but after the switches, the animation set to track 0 changes the position of the head and face parts. Then, when the animation that was playing on track 1 mixes out, the position of the face parts does not stay in the correct position, and you can see them trying to move back to their setup pose.

      To make this problem easier to understand, I have recorded a video and emailed it to you so you can check the contents.

      If multiple animations are being played simultaneously to achieve a particular pose, you should try to play the animations that animate specific bones on the same track as much as possible.

      • इस पर KPerev ने जवाब दिया।
      • Harald ने इसे लाइक किया।

        Misaki I asked our animation team to try this solution and it seems to be working in the example case. We will try it further, since we had this issue with a few animations at this point. From what they say, it's likely the only solution we needed.

        Harald If @"Misaki" 's solution doesn't work in all the cases where it was happening, I will make a unity project sample for you to check.

        Whatever is the case, thank you both for your support!

        • इस पर Harald ने जवाब दिया।
        • Misaki ने इसे लाइक किया।

          KPerev Harald If @"Misaki" 's solution doesn't work in all the cases where it was happening, I will make a unity project sample for you to check.

          Thanks, but there is no need to send a Unity reproduction project if the problem lies with animation project setup already. The setup needs to be changed accordingly, otherwise in the Unity project it will be a "follow-up error".