Hi there! How is everybody?

Here I am with a new issue:

Is there any way to set the spine component's layers individually?
I want to make a character interact with an object, making this character having parts of the body in front of the object and parts in the back. Is this possible?

I've been thinking about spliting the spine object in two (front and back) and somehow make them sync via script, but I don't know if this is the proper way to proceed.

Any help is welcome!

Thank you in advance!

Related Discussions
...

Hi @Erika! Thank you very much for your reply, it is just what I was looking for!

After reading the documentation and watching some videos, I've been applying this tool to all the models in my game that can benefit from this (for me) new functionality. However, I'm having issues with ONE specific object, and it's that once I add the Skeleton Separator, the animations stop playing. What could be the reason for this?

This object has a "sibling" that is exactly the same in every aspect, except for the spine object (they use the same script to manage logic, the same script to manage animations... everything is the same except for the spine object), however, one plays perfectly and the other doesn't.
I've been reviewing everything, step by step, and I always get the same result. Could you help me with this?

EDIT-UPDATE: I just realized that enabling the Mesh Renderer enables the animation (but keeps the object as "one and only layer"), however, the other object has it disabled too and works just fine anyway...

    Another Update:

    Here is a gif showing that, enabling the separator makes the ring not animating anymore:

    As I said in my previous post, I checked everything and followed the steps many times receiving every time the same result.

    It only happens with this object, what makes me think the problem is with the animation itself, but I'm not sure.

    If there is anything else I can provide you in order to help you helping me, let me know! This is driving me crazy.

    Thank you in advance!!

      Yimec EDIT-UPDATE: I just realized that enabling the Mesh Renderer enables the animation (but keeps the object as "one and only layer"), however, the other object has it disabled too and works just fine anyway...

      That's the main un-separated skeleton, this should remain disabled when separation is enabled.

      Yimec If there is anything else I can provide you in order to help you helping me, let me know! This is driving me crazy.

      Could you please send us a minimal Unity project which still shows this issue? You can send it as a zip package to contact@esotericsoftware.com, briefly mentioning this forum thread URL so that we know the context. Then we can have a look at what's going wrong.

        Harald Thank you for your reply.

        Trying to "clean" the prefabs in order to send you this file

        Harald Could you please send us a minimal Unity project which still shows this issue?

        I tried the only thing I didn't think about: deleting the animation object and creating it from scratch. And it solved the problem.

        I still don't know why this solved the problem or what happend with the previous one, but so far, this is enough.

        Thank you for everything!

        @Yimec Hm, this is strange indeed. Anyway, glad to hear you've resolved the issue!

        In case this issue occurs again in the future and you know how to reproduce it, please don't hesitate to send us a minimal reproduction Unity project, as we hope it's an issue that can be fixed on our end.

          Harald Sure! My initial thought was that the issue lay with Spine, since I had tried everything from Unity. It could have been a combination of my poor implementation (first time doing it), Unity malfunction, and just plain bad luck. Nevertheless, I really appreciate the involvement of the whole team.

          Best regards!