• Runtimes
  • 請問如何降低我spine專檔的版本?

我是使用最新版本然後完成spine後導出指定的版本(4.1),由於不明原因似乎導出的指定版本不能使用,想要測試在4.1版本的spine裡面導出4.1版本的運行檔,想請問要如何將我目前的spine專檔降低版本到,4.1的spine也能開啟專檔?
我測試過網路上有人導出4.1的運作檔後,再重啟spine4.1再去開啟前面導出的4.1版本來完成,但是我導出4.1運作檔後使用匯入資料還是出現錯誤。
已經在導出選擇4.1了,或是有其他方式能夠降spine專檔的版本? 感謝

Related Discussions
...

要將您的 Spine 專案檔降級到 4.1 版本,您可以按照以下步驟進行:

  1. 打開您目前的 Spine 專案。
  2. 使用快捷鍵 Ctrl+E(Windows)或 Cmd+E(macOS)打開導出窗口。
  3. 在左側菜單中選擇 JSON,然後設置以下選項:
    • Version 設置為 4.1
    • Output 部分,勾選 Nonessential data
  4. 將導出的 JSON 文件導入到 Spine 4.1 版本中。

如果您在導出或導入過程中遇到錯誤,請確保您使用的導出設置正確,並檢查是否有任何不兼容的數據或設置可能導致問題。

    Spinebot
    沒錯,我都有照第三點的方式導出,並重新開啟4.1 版本的spine,但是依然無法執行。

    匯入資料json檔會出現這個
    匯入skel則是出現這個

      fort8877 You can only specify the version when exporting in JSON format, but I'm concerned about the mention of “Binary version” in the import dialog. Have you saved the JSON file with the .json extension? If you save it as .skel, Spine may mistakenly recognize it as a binary file instead of a JSON file.

      If you have confirmed that you are exporting in JSON format and it still does not work, please send us the skeleton file that is causing the error via email so that we can investigate the issue: contact@esotericsoftware.com
      Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.

        Misaki
        Yes, I'm exported .json file, When i import the .json file in to the older version I'll get " An error occurred while importing the skeleton. Please be sure to choose a valid skeleton JSON or binary file " this massage back, I'm just my to down grad from spine 4.2 project file to spine 4.1 project file, I have 9 file to do this...

        • Luke a répondu à ça.

          fort8877 I took a look at your project and the spine.log file that was generated when I tried importing your .skel and .json files.

          Could you please try deleting the inherit timelines in your project? That's what was throwing an error when I tried importing the .json:

          Cause: s.rEQ: Error reading animation: clos eye
          at s.iNi._(_:353)
          at s.oFH._(_:118)
          at s.NOe._(_:151) ...
          Cause: [error] Invalid timeline type for a bone: inherit (head)
          at s.iNi._(_:749)
          at s.iNi._(_:351) ...

            Luke Oh! Yes! It's working! I think I accidentally clicked on the inherit option on the timeline.
            yeah, After I deleted it, the exported 4.1 can run on version 4.1.
            Thank you so much