Hi,
This is either a libGDX runtime issue, or spine file export issue, but either way, there is some kind of inconsistency there.
We have an animation with multiple skins, when it is exported in final JSON file there is a list of skins, each of skins containing their attachment data, yet the first one in that list is a skin called "default", and that skin does not contain any attachments. t is also not shown in spine software, but it is in JSON.
Now when runtime loads that, the way it does it - it really matters which skin it reads first, so due to default skin having no attachments the following issue occurs. Even though it's rendering proper skin, when it goes into draw method, and iterates of Slots, the attachment field in each slot is "null" thus nothing gets rendered.
Previously we had a quick workaround - which was to create skin named default, and then remove it, which was removing default skin from JSON, and fixing the problem. Now, this can't be done because in new spine version default is "considered a reserved name" so can't be created, thus can't be removed. And so we are stuck with this skin in the son that makes animation not render in runtime.
Can you advise if this is a wrong export or JSON is correct and it's just the wrong runtime? or a bug?
Versions we are using:
Spine Software: 3.8.95
libGDX Spine Runtime: 3.9 (snapshot)