• Bugs
  • edit Owl.html not working

Related Discussions
...

Hi there,I saw video that using spine making mouse tracking and it looks amazing.So I want to edit one.But nothing loaded then. I tried a lots exported files and just not loading.I can't upload files I made cause size too large.But I made one exmpale without 4directions that should have the same problem and can be uploaded.Plz help, I have no idea where went wrong.

Hello, I tried opening your json in skeleton viewer for 3.8 but it fails.
Skeleton Viewer

If skeleton viewer cannot read it, the runtimes can't either. The solution is to export it again and verify the exported files can be opened in skeleton viewer, then once you are sure, try again with the html.

Thank you for the reply. I tried to export it with 3.8.99 and viewer can open it but html still can't


Here is the new file.spine version 3.8.99


Erika escribió

Hello, I tried opening your json in skeleton viewer for 3.8 but it fails.
Skeleton Viewer

If skeleton viewer cannot read it, the runtimes can't either. The solution is to export it again and verify the exported files can be opened in skeleton viewer, then once you are sure, try again with the html.

Thanks, but It looks still not working

if(r.hash=s.hash,r.version=s.spine,"3.8.75"==r.version)throw new Error("Unsupported skeleton data, please export with a newer version of Spine.")

"3.8.75"==r.version is throwing your error. The r.version is "3.8.99" in your new json file. So, "3.8.75" equals "3.8.99" is false.

The next issue is that you copied the owl demo which has blink, left, right, up, down animations; your json file does not have.

[attachment=1]YFMU1BTTRCF$_J[%C}D(1[L.png[/attachment]

SilverStraw escribió
if(r.hash=s.hash,r.version=s.spine,"3.8.75"==r.version)throw new Error("Unsupported skeleton data, please export with a newer version of Spine.")

"3.8.75"==r.version is throwing your error. The r.version is "3.8.99" in your new json file. So, "3.8.75" equals "3.8.99" is false.

The next issue is that you copied the owl demo which has blink, left, right, up, down animations; your json file does not have.

Okay, I think I've fixed it, thanks a lot for replying.