• Editor
  • Missing images when I import my JSON?

Hi! Newbie to Spine here.

I just started working in Spine yesterday so forgive me if I'm making a really basic mistake. I used the Spine script in Photoshop to export PNGs and a JSON, placing the JSON in the root directory (./) and the images in an images folder in that directory (./images/). When I imported the JSON into Spine, the PNGs were placed correctly, but everything had a "missing image" image instead. Spine had the path to the images listed as images/ and when I instead browsed for the directory manually, which put the full file path in, then the images appeared properly. I would expect the script to write a JSON that automatically finds the right image path. Am I missing something in the export/import process here?

Related Discussions
...

The script outputs a relative images path. If you have the PSD and .spine project file in the same folder, Spine should find the images. If not, just edit the images path in Spine as it sounds like you have done, no big deal. You can look at the JSON you got from Photoshop to see what it used as an images path, or import into Spine and see what images path is set. See here for details on how Spine finds images:
Images - Spine User Guide