• Editor
  • Exporting .JSON issues

I wonder if anyone could help me out with an issue I'm having?

I'm trying to export a .JSON of a sprite that I'm designing so that I can use it in GameMaker. However, I'm running into problems. When I click the export button, I get a message saying that the packing is complete, but I don't get a message saying that the .JSON file is exported like I normally would.

I do still get a .JSON file but it doesn't seem to work when I import it into GameMaker. I get no error messages but I just get a blank sprite.

If I go back to some of my old projects, I can still export as normal. I can't see any different between my old projects and this one so I'm finding it difficult to work out what I'm doing wrong.

Thanks in advance.

Related Discussions
...

That is odd. Do you get different JSON when exporting without Create atlas checked? Can you post a screenshot of your texture packer settings?

Okay, I sorted it the problem out. No idea why I didn't think of this earlier but this is what I was doing wrong:

I was getting a message saying that two of my components were not being exported because they were hidden each time I tried to export. I wrongly believed this would have no effect. When I deleted those slots, the export works correctly.