I did this earlier a lot of times, yet now i can't understand what's going wrong. Before I get into the problem let me tell what I know...
The skeleton JSON file, once imported in a Unity editor, needs to be set up with atlas assets. This can happen automatically when skeleton is imported with atlas together.
The atlas contains the coordinates(name, position, rotation, other relevant data) of a region used by the skeleton JSON file. The atlas is connected with one or more textures, where it maps the regions.
I thought, as long as atlas file has all the mapped regions that the JSON file requires, I'm good to go.
Even if I import the JSON file, and the atlas files separately, there wouldn't be an issue, as long as the atlas files maps the regions required by the JSON file.
Now I'll attach two atlas files, one maps the region properly.....the other one maps the regions wrong, resulting it hapazard regions from the texture.
This one works:
This one doesn't:
I've tried re exporting the relevant atlas later on, both with the texture packer, and the skeleton export way. But I can't seem to reproduce the first format of atlas, and only the first format gives me expected results...
What am I missing?....I tried changing the export settings a bit, with no success.....
Plzzz help!