• RuntimesUnity
  • Random shadow/mask/alpha visual issue on some spine animations

Hey!
I have a weird visual issue with some of my characters in Unity. Most of the time the characters are fine but they randomly have this visual error happen from time to time. Happens in editor and device. Im using spine 4.0 and unity 2021.3.26 but have had this issue on multiple unity versions. I dont have a repro to make it happen, just seems random. If anyone could offer some advice on what is possibly happening and how to fix it that would be great. Thanks!
First images are what I expect it to look like and second image has the bug.



    Related Discussions
    ...

    Yeah, assign different sort layer indexes to each spine object to solve the problem.