herrkjeldsen

Hi! We're trying to import a stepped animation with 4.0 into unity. Everything looks as expected, but the rotational keyframes seem to be interpolating linearly in Unity, as opposed to stepped as they are set in the editor.

Anyone else experienced this? :D
herrkjeldsen
  • Postovi: 4

Harald

What versions of Spine and of the spine-unity runtime (name of the unitypackage) are you using?
Avatar
Harald

Harri
  • Postovi: 3907

herrkjeldsen

Hi Harald! Thanks for your reply :)

Ah sorry, I forgot the version numbers :D
Spine: 4.0.76-beta Pro
Runtime: spine-unity-4.0-2021-06-01-beta.unitypackage
Unity: 2020.3.8f1

On a related note, it is not possible to enforce a framerate/remove interpolation between frames of a spine animation in unity, right? We're going for a kind of traditional frame by frame type look :D
herrkjeldsen
  • Postovi: 4

Harald

Thanks for the additional info! It seems as if you've just discovered a bug in the spine-unity json loading codepath, it's working with binary .skel.bytes export.

We have created an issue ticket here:
https://github.com/EsotericSoftware/spine-runtimes/issues/1902
We will let you know once we have a bugfix ready. Thanks for reporting!
herrkjeldsen je napisao/la:On a related note, it is not possible to enforce a framerate/remove interpolation between frames of a spine animation in unity, right? We're going for a kind of traditional frame by frame type look
It is possible, we even have an example scene for it called Spine Examples/Other Examples/FixedTimestepUpdates. :nerd:

---

Remark: It seems as if all runtimes are affected, as this issue also occurs in SkeletonViewer. The issue ticket has been updated accordingly.
Avatar
Harald

Harri
  • Postovi: 3907

herrkjeldsen

Awesome! Thanks Harald! :bananatime:
herrkjeldsen
  • Postovi: 4

Harald

A new 4.0-beta unitypackage has been released containing the bugfix.
You can download it here as usual:
Spine Unity Download
Thanks again for reporting!
Avatar
Harald

Harri
  • Postovi: 3907


Natrag na Runtimes