• Unity
  • Runtime 3.7 animation loop issue

Hello there,

We are having an issue with spine unity runtime 3.7. Our animations were working just fine in spine unity runtime 3.6, but after upgrading to 3.7, we are facing some problems concerning the loop of our animations.

In the first loop, the animation works as expected, however in the second loop onwards, certain elements "disappear", e.g. the tears, and the "Z's" during the sleeping animation. I attached a video that perfectly reports the bug. Could you have a look into it, please?

Thanks in advance.

stamblew

Related Discussions
...
  • تم التحرير

Is this only happening in the preview? Does it happen in-game?

Yes, unfortunately it is also happening ingame

Thanks. If possible, it would be helpful if you could email a Unity project that shows this problem so we can see it firsthand. contact@esotericsoftware.com

Are you saying you also re-exported your skeleton from Spine 3.7 or were you using your original Spine 3.6 exports without any changes?
Were these exports jsons?

For now, if it's replicable just in the skeleton data asset inspector, just giving us the skeleton export should be enough for testing.
If we need more info, we'll let you know.

You can email it to the address above.


Can you send the atlas as well? You can black out the images if you want.

Hi, I've just sent an email with both the atlas.txt and the images that this animation uses.

Thanks

5 أيام لاحقا

Thanks. I've confirmed we've received it. We'll take a look at it.
Stay tuned!


It seems to be missing a lot of pages. This atlas is looking for 25 pngs.


I can confirm this skeleton was exported with Spine 3.7.
The fade-out slot color animation on the Z's look correct when using 3.6 but don't 3.7.
I looked at the slot color keys on the animation and it looks like they don't start at 0.

So it looks like this in the Spine editor dopesheet.

This may be an ambiguity to tackle for the runtime design.
But for immediate results, I recommend adding a slot color key at the start of the animation so that it's clear to the runtime how to animate this color.

This applies to all runtimes, not just Spine-Unity.


Sorry! There seems to be something else going on in spine-unity. We're checking it right now.


We found a problem and it's been fixed in the latest update!

You can get the latest unitypackage here: Spine Unity Download

Thanks again for reporting and taking the time to send us the repro case!

We also thank you for the amazing support! The slot color key approach worked!

We chose to update the runtime and keep our animations intact. The problem has been fixed in the inspector preview indeed, however, I am still having this problem in-game. I sent another email to the support with more details and a sample project, could you check it out, please?