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.
Random shadow/mask/alpha visual issue on some spine animations
- Editado
matthewcactus Do the screenshots mean incorrect sorting happened? If so, adding a Sorting Group
component to each skeleton GameObject should be able to fix it. Please see this section of the spine-unity runtime documentation for more information: http://esotericsoftware.com/spine-unity#Preventing-Incorrect-Sorting
Yeah, assign different sort layer indexes to each spine object to solve the problem.
Thanks, this fixed my issue. Didnt even think it could be a sorting order issue!