• Unity
  • No spine atlas option in the Create dropdown menu

Hello,

I got some rigged animation working in unity and was able to export the spine animation but when
I updated Unity to match the version my developer was using I could no longer export. it seems the .mat and .asset files
when I try to create the atlas and data in unity there is no longer a spine atlas option in the dropdown. I loaded the runtime files
but it appears I may have some version problem. I'm running Unity 2018.1.3 Spine 3.7.82 PRO
When I run it in Unity I get a long string of errors here is an example:
Assets/Spine/Runtime/spine-unity/Asset Types/RegionlessAttachmentLoader.cs(36,44): error CS0246: The type or namespace name `AttachmentLoader' could not be found. Are you missing an assembly reference?
any help would be greatly appreciated.

Related Discussions
...

If you get compile errors, then some menu items will be missing until everything compiles successfully again.

Is the error above the first error that is logged in the console? It seems as if either some files are missing or other things in the Unity cache have gone wrong.

Which version of the Spine Unity runtime are you using? If you are using the most recent one, have you tried reimporting the whole Spine directory, or even the whole project?

I'm using spine-runtimes-3.7. I have tried reimporting the whole project a number of times but not the Spine directory. So you mean create a new project and import the Spine assets again?

No, I meant right-clicking the Spine directory and chosing Reimport. But if reimporting the whole project does not solve it, then reimporting only the single directory will not work.

I would suggest deleting the Spine and Spine Examples directories and importing them from the latest unitypackage here again: Spine Unity Download
This makes sure that there are no leftover files.

And as usual, be sure to make backups and not delete any of your own assets you might have accidentally placed in the Spine directories.

7 天 后

OK got it I will give it a try. Thanks so much.


I did what you said and deleted those folders. I created a new Unity project. where I get stuck is trying to Create the spine Atlas. I don't get the Spine options in the Unity drop-down menu. See attached.

In the screenshot I can see that you have some compile errors left. The menu entries will not be added if the project fails to compile the corresponding code.

Did you create a new clean Unity project and add the latest Spine-Unity 3.7 runtime unitypackage from the official download page?
How did you receive those compile errors?


I guess you set that up correctly already, but just in case: Be sure to setup the export options in the Spine Editor to export the atlas file with file extension .atlas.txt, then all your assets should be imported automatically in Unity: