Flag

  • 2023년 7월 3일
  • 2023년 4월 10일에 가입함
  • Harald Hi Harald, considering this situation, I may choose .json export specially for those projects. Thanks anyway!

  • Problem statement

    • Spine version 3.8.99, Spine-unity 3.8

    • My animation has an IK constraint timeline with softness changes between key frames.

    • When I export the project with binary data then import into unity. As a result I got wrong curve
      information(actually wrong curve type) in SkeletonBinary.ReadCurve().

    • I debugged the code and found that some curve turned into "stepped" while their type should be
      "bezier".

    • But when I export the project using json data, the curve information is all right and works fine.

    Debug

    • I logged the curve type in SkeletonBinary.ReadCurve() and SkeletonJson.ReadCurve() method, here's the screenshot.

    Binary(wrong curve type):

    Json(correct curve type):

    I have no idea it's a bug or not, hope someone can help me solve my problem : )

    Attachment

    Here is my test project which has the same issue.

    testik.zip
    24kB