• Bugs
  • [unity] SkeletonGraphic (UI) issues

When I spawn the SkeletonGraphic version of the skeleton, it's all kinds of messed up or it doesn't show up at all:

Unity: 2019.1.9f1 and Unity 2019.2.4f1
Spine: 3.8.72
Unity Runtimes: 05.09

Issue is reproducable in a fresh project and in the main project. The rig is from this issue but updated to the latest Spine version: Issues with Skeleton Utility in Unity and skinned bones

Let me know if you need the Spine or the the Unity project and I'll send it over.

Related Discussions
...

Yes, please send us a repro project.

I've emailed the Unity Project.

14일 후

The cause of your problem is due to SkeletonGraphic being limited to a single atlas texture (Unity's Canvas Renderer does not support multiple submeshes or materials). This limitation is documented on the updated spine-unity runtime documentation pages now:
spine-unity Runtime Documentation: SkeletonGraphic Component
This section of the documentation pages also references export settings recommendations for SkeletonGraphic.

So you could either
a) switch from SkeletonGraphic to SkeletonAnimation, or
b) guarantee that all active attachments are on the same atlas page texture at any time. You could also repack a skin to a single
atlas texture at runtime as described in this section: spine-unity Runtime Documentation: Setting Skins