Jump to content

Spine builder - exporting to subdirectories causes invalid json


Recommended Posts

Hi,

Loving affinity and keep up the great work.

I just thought to check if anyone has come across this issue, when I attempt to export using the spine builder from affinity it produces invalid json as part of the spine.json if attempting to write slices in different directory paths (see attached)

It appears that the directory paths are not escaped in the json values causing invalid json. This causes an error when spine attempts to parse the spine.json file as part of importing/updating a skeleton

As a FYI, having different directories for images is useful in spine runtimes to get "efficiency gains" within game engines, etc.. 

A valid spine.json file is produced without any additional path component paths in affinity, it would be kinda nice to not have to manually rejig images around in different directories and use the path component for spine in affinnity, any thoughts? 

 

slice_export_invalid_json.png

slice_export_affinity_setup.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.