• Bugs
  • pngToJson Photoshop completely broken

Related Discussions
...

Hello,

I just recently purchased Spine to do some animating for my libGDX projects. I want to be able to bring over things from illustrator, and I am trying to do so by creating a PSD and then using the photoshop to JSON script to try and create the JSON file for spine.

When I try to bring this JSON file in, it just displays error boxes saying Missing. I attached a picture.

I am super disappointed in my purchase right now, can some tell me what is wrong?

I am using the newest version of Photoshop and Illustrator and Spine FYI.

Thanks to anyone who helps!

Q

This happens when the paths are wrong.
Since the images are sourced with relative paths, you normally need to save your project where the json was exported before Spine is able to find the images.
It's either that or you need to go to the Images node in the Tree view and set/browse to the correct folder.

So.
Option 1: Save your project in the same folder as the original json.
Option 2: Set the folder path in the images node.

I suppose this step in the process should be streamlined. Save Project When Importing json as New Project · #182 · EsotericSoftware/spine-editor

You are amazing sir. Just plain amazing. Thanks for linking my forum. Looking forward to actually getting to use the software now!
Q