lars Posted August 15, 2019 Share Posted August 15, 2019 Hey I trying to using Spine in my panda2 project, but get an error: spine.js:4426 Uncaught Error: Slot not found: name at SkeletonJson.readSkeletonData (spine.js:4426) at Class.staticInit (spine.js:6686) at Class.staticInit (core.js:1123) at new Class (core.js:1157) at Class.init (main.js:105) at new Class (core.js:1165) at Class.init (main.js:38) at new Class (core.js:1165) at Class._setSceneNow (system.js:397) at Class._run (system.js:355) I am using spine version: 3.8.60 Import as this: .require( 'game.assets', 'plugin.spine' ) And further: game.addAsset('mytest.atlas'); game.addAsset('mytest.json'); And use like this: this.sprite = new game.Spine('mytest.json'); this.sprite.play('idle', true); this.sprite.speed = 0.01 this.sprite.addTo(game.scene.stage); When I download a spine spritesheet (spineboy) made with Spine version: 3.6.50 everything works. I can see different in the Spine json files at the "skins" declaration. Dont know if that's the problem : version: 3.8.60 "skins": [ { "name": "default", "attachments": { "head": { "head": { "x": 156.27, "y": -4.07, "rotation": 92.17, "width": 400, "height": 397 } } } } ], version: 3.6.50: "skins": { "default": { "dust01": { "dust01": { "width": 96, "height": 73 }, "dust02": { "x": -8.12, "y": 20.56, "width": 86, "height": 88 }, "dust03": { "x": -5.49, "y": 34.26, "width": 62, "height": 52 } } I have downloaded the latest Spine.js version on panda.io I have attachs the Spine spritesheets export files and my main file Quote Link to comment Share on other sites More sharing options...
Stephan Posted August 16, 2019 Share Posted August 16, 2019 Yep, I also see a change in the spine.json file in my own spine.json files that include skins. This should definitely be fixed soon! Quote Link to comment Share on other sites More sharing options...
Stephan Posted August 16, 2019 Share Posted August 16, 2019 quick fix for the time being: you can change the spine version in spine settings => Version =>to 3.7.x (dropdown) and it should work again. Wolfsbane 1 Quote Link to comment Share on other sites More sharing options...
makowey Posted May 18, 2020 Share Posted May 18, 2020 Hello, any update on this issue? I'm getting same exception: Uncaught Error: Slot not found: name (spine:4426) "spine": "3.8.95" I didn't understand the solution: Quote in spine settings => Version =>to 3.7.x (dropdown) Where I can find this spine setting? Quote Link to comment Share on other sites More sharing options...
makowey Posted May 24, 2020 Share Posted May 24, 2020 (edited) Yes, I can confirm that. For 3.7.94 or lower is working. Edited May 24, 2020 by makowey Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.