Hi! Today I'm facing a few unpleasant things that keep me from doing my job. For my task I need to change the mask interaction type in runtime. I don't know is this behaviour expected, so post it here.
I have a model that contains two atlases (and materials). Some skins contain one material, some two.
In the first case, I created SkeletonAnimation and generated materials for one of the skins (consisting of one material) to interact with the masks. When switching to a skin containing 2 materials, it was broken.
The second case is similar. I figured I'd take a skin that consists of two materials, generate the materials for it, and everything should be fine. Partly I was right, but after the generation the artifacts came out on the other skins.
I suspect that these materials would have to be generated dynamically, but the spine does this only in the editor. Plus the spine does not generate these materials if they have already been generated for one of the skins.
First issue
Loading Image
Loading Image
Loading Image
Second issue
Loading Image
Loading Image