• RuntimesGodot
  • Error importing .skel file


Every single other .skel file in the project was able to be imported except for this one... including ones from the same version (both Spine's and Spine-Godot runtime's).

Was told on the Discord server that there's no way to know without access to the files, so here they are:

penguin-1.zip
4MB

(I'm using Godot 4.2.1's latest runtime version btw. The Spine exports were created thru Spine 4.1.24)

  • Misaki ответили на это сообщение.
    Related Discussions
    ...
    • Изменено

    the_procrastinator Sorry to hear you're having trouble. I checked your .skel file and noticed that it is actually JSON format data, although the extension is for binary format data. It would be strange if the same export method worked for other skeletons, but spine-godot has the following rules for skeleton data:

    You should prefer binary skeleton exports over JSON exports, as they are smaller in size and faster to load. If you must use JSON, make sure the file extension is .spine-json instead of .json.

    https://esotericsoftware.com/spine-godot#Exporting-for-Godot

    As explained in the documentation, if you want to use data in JSON format as it is now, you will need to use the .spine-json extension. However, we generally recommend using binary data, so if you are not particular about the data being in JSON, it is better to re-export it in binary format.

    Thank you for the answer! Was indeed the case