Phaser3 - error [Skin not found: default]

Error Message

Uncaught Error: Skin not found: default
    at SkeletonJson.window.SpinePlugin.SkeletonJson.readAnimation (SpinePlugin.js:19846)
    at SkeletonJson.window.SpinePlugin.SkeletonJson.readSkeletonData (SpinePlugin.js:19504)
    at SpinePlugin.createSkeleton (SpinePlugin.js:7307)
    at SpineGameObject.setSkeleton (SpinePlugin.js:26659)
    at new SpineGameObject (SpinePlugin.js:26390)
    at GameObjectFactory.add [as spine] (SpinePlugin.js:6666)
    at main.ts:293

Our project added spine plugin and it worked at phaser3.17, But it had some bug,just like,all spine object had opposite direction. So,we update phaser to the latest version,but it show the error. Do anyone know what’s wrong with it? The spine resource are all the same ,just change the phaser.js and plugin scripts.

If you’re using the latest Spine plugin, you’ll need to re-export your Spine assets from 3.8.

1 Like

Thanks for your answer, I am really happy that you can give me a solution to try. Can I ask another question is how do I know which spine version is phaser supported?

Thank you! Now I fix the problem in my project.

The SpinePlugin in Phaser 3.20 uses the Spine 3.8 runtimes; prior Phaser versions, going back to the fall of 2018, use the 3.7 runtimes.

1 Like