EsotericSoftware / spine-runtimes

2D skeletal animation runtimes for Spine.
http://esotericsoftware.com/
Other
4.42k stars 2.92k forks source link

[godot] .skel file crashes editor #2642

Closed LemonadeFlashbang closed 1 month ago

LemonadeFlashbang commented 2 months ago

Hello,

I'm using a forked version of this repository for a game currently in production. There are no content changes in the fork- it just version controls for me and has the runtimes for other engines removed.

We tried to add a character skin recently, however the engine crashes whenever the .skel file is loaded.

The root cause appears to be an assert error in Skin.cpp, line 92. assert(_name.length() >0);

But it doesn't provide any details as to what exactly is broken. It looks like the name of a skin or attachment is null- but I can't find any such thing when opening the project in Spine. All of the skins and attachments are properly named and open as far as I'm aware.

The skel file is saved as a binary, but we tried converting it to json and I scanned through looking for null or invalid names- and couldn't find any. Godmother.json

Below are the atlas, texture, and .skel file. Edit: Link removed since it's for a production asset.

I'm currently using Godot 3.5.3 and Spine version 4.1.17.

How can I go about troubleshooting this?

LemonadeFlashbang commented 1 month ago

Exporting to .spine-json worked. Not sure why this was an issue for the .skel file, but given both the version of Spine and Godot are outdated I've elected to close the issue for the interim.