Mastro2k написалI'm getting this error when importing the example spineboy project. I wanted to be sure I got it working in Unity before putting effort into the animation. I read through the documentation but doesn't mention this message. How do I fix this or is there a different way to export?
I attached a screenshot of my export settings that the error message. I tried to do a search here but didn't find anything.
"Could not automatically set the AtlasAsset for "spineboy-pro.skel"
There are 3 files that are created when you export a Spine Project:
MyProject.skel.bytes (or MyProject.json) - this has all of the data about your spine project like animation info, etc.
MyProject.png - the texture-packed image with all of your project's source images
MyProject.atlas - this file has the information on where each of your source images are located on the texture-packed image. Its like an 'atlas' saying that arm1 is at this location on the MyProject.png image, and hand1 is at this location, etc.
You need all 3 of those files for the spine animation to work.
So that error is saying that Unity sees the "data" for a spine project (spineboy-pro.skel), but it doesn't know where the corresponding .atlas file is. Normally when you're adding a new spine character to Unity, you want to drag all 3 of the files that are created (from Exporting in Spine) into the Unity window - if you do that, then Unity will know that all 3 of those files are associated with eachother.
But if you were to drag only the .skel file into Unity, it wouldn't know where the other 2 files are, and that error would pop up. Or if you were to drag the .atlas and the .png file into one place in your Unity project, and then drag the .skel file into another place, it would also pop that up.
If the Unity project has all 3 of those files, you can press "Resolve Atlas" and select the corresponding .atlas file, and it will link everything up.