krutovig

Hi.

I have a mask which is limited by its clipping area. http://joxi.ru/1A5bbGWSDX1wKr
Also I have a few slots with sprites placed so much higher than the clipping area ending, that you can't even see them in one screen on the screenshot provided.

Somehow the mask affects them too. It's strange that I see them in Spine scene, but when I do export to unity, they don't show up there. If I remove the mask, everything goes well.http://joxi.ru/12M115pUlBK8D2

I can't see any pattern there, it's a few random slots.

Is it a bug?

I use 3.8.95 Spine
krutovig
  • Posts: 21

Harald

We're sorry for the trouble. We have fixed a related bug not too long ago, which version of the spine-unity runtime are you using (name of the unitypackage)?
User avatar
Harald

Harri
  • Posts: 2075

krutovig

Harald wrote:We're sorry for the trouble. We have fixed a related bug not too long ago, which version of the spine-unity runtime are you using (name of the unitypackage)?
This Spine-Unity runtime works with data exported from Spine Editor version: 3.8.xx
Package version: spine-unity-3.8-2019-12-05.unitypackage
krutovig
  • Posts: 21

Harald

Thanks for getting back to us. The said bugfix should already be included in this unitypackage, so this seems to be a different problem.

Could you please send us the problematic assets (please also include the working one with the mask removed) as a zip package to contact@esotericsoftware.com or attach it to a posting in this forum thread, then we can have a look at it.
User avatar
Harald

Harri
  • Posts: 2075

krutovig

Well, it's reproducing with the other animation. I found the solution, the hack for that, so I think it's better to show you that one instead of the previous described above.

This is the situation: I have 2 masks which should cover the half of the slots http://joxi.ru/Vm6yy4dF4aQV6r
As you can see the B_cutter mask clipping ends right before F_cutter mask. And in Spine everything looks correct. When I export that to Unity, it appears that B_Cutter covers all the slots up to the top.

And then I'll do the next: I put masks under placeholders and for B_cutter I set different clipping areas in different skins, so after that the bug stops reproducing.

I duplicated this info to you e-mail and also attached zip. There are 2 spine files, one with a bug, the second with a hack.

Thanks. Looking forward to your answer.
krutovig
  • Posts: 21

Harald

Thanks for the reproduction assets and the writeup.We received everything and will get back to you as soon as we figured out what's going wrong.

---

The bug is now resolved, a new 3.8 unitypackage is available for download:
Spine Unity Download

Thanks for reporting!

Issue ticket id for reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/1694
User avatar
Harald

Harri
  • Posts: 2075


Return to Unity