• Editor
  • Importing and updating an old export in latest version?

I'm about to buy the IP of an old game and would like to know if the following is possible.

The project doesn't include the original Spine files but only the exported JSON, atlas, and PNG files.

When I try to import those in Unity 2020 with the latest runtime for Unity I get the following error:
Error importing skeleton 'player': Skeleton data could not be loaded. Data version: 3.1.02. Required version: 3.8.

If I buy the full version of Spine would I be able to upgrade the old exports to a new usable version?
And since it's a lot of assets I'd also like to know if it can be automated via command line.

Thanks a bunch!

Related Discussions
...
  • Изменено

Welcome to the forum.

If you have the originally exported JSON, and the original PNG files it should be a simple matter of importing the JSON.

You should be able to use command line for this task. You can see all the command line parameters here: Export - Spine User Guide: Command line.

15 дней спустя

I can successfully open an old json by selecting version 3.2.01 at startup and use "Import Data" from the menu.

Unfortunately I can't get the command line version to work:
/Applications/Spine.app/Contents/MacOS/Spine -u 3.2.01 -i ./logo.json -o ./logo.spine -r

It just opens an empty spine window. Can you see what exactly I'm missing?

Thanks!

Unfortunately I'm not able to test on mac, but I have no problems when using the above command line parameters.

Have you tried using an absolute path for your json and spine files?

3.2.01 is quite old and unforunately doesn't support importing a JSON file to a Spine project file. That was added in 3.7.17-beta. I'm afraid you'll have to use the UI to import your JSON file and save a Spine project file, sorry!