• Bugs
  • Clipping bug in Unity runtime

Related Discussions
...

Hi everyone. I found a clipping bug in spine-unity-3_6-2017-11-25.

I used clipping attachment with end slot, but all slots heigher draw order than end slot were clipped too.
I checked Call Hierarchy of SkeletonClipping.ClipEnd method and I may found the causes.

In MeshGenerator.AddSubmesh method (SpineMesh.cs. L 456), ClipEnd method is called in for loop.
But, if attachment isn't MeshAttachment, ClipEnd method will be skipped by continue statement.
I inserted ClipEnd method before continue statement, and all slots were showen correctly.

Thank you and best regards,

Thanks for reporting. I'll be reviewing this soon.


Fixed in git. It will be included in the next update! Thanks again!