Arnissan

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.
Arnissan
  • Сообщения: 49

badlogic

Yes, please send us a repro project.
Аватара пользователя
badlogic

Mario
  • Сообщения: 2013

Arnissan

I've emailed the Unity Project.
Arnissan
  • Сообщения: 49

Harald

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
Аватара пользователя
Harald

Harri
  • Сообщения: 950


Вернуться в Bugs