JonathanAndersen Which is exactly what I said: cleaning the animation only removes the last row (column) of keys.
From your wording I think you didn't understand at all what I was pointing out above.
I was talking about the entirely missing key row of Attach: Eyes closed
. It's present in the first screenshot, but was entirely removed in the second screenshot after cleanup. I was not talking about the last two removed columns, please read my text carefully again:
Harald Using either Animation clean up during export, or Clean Up when selecting the Hurt animation in the tree view both deletes the required key of the attachment Eyes closed
(which is identical to the setup pose, thus removed). You can see the screenshots:
This removed key is causing the problem, after having been removed by animation clean up, I see a leftover enabled attachment "Eyes Closed" in the Unity project. Without this key being removed, the attachment stays disabled as desired in Unity (and it's not just colored transparent with alpha=0).
JonathanAndersen The only difference is that the color keys are still in your screenshots.
That's not what the screenshots are about. They show your problem of the removed last row of keys.
If you think that I didn't remove the color keys: I removed them from the exported .json
file, not from the Spine project. And before you ask: I also verified in two ways in Unity that the attachments are disabled (via the Skeleton Debug View
and by viewing the mesh). Please always carefully read the words that I write what you should look at in the screenshots.
JonathanAndersen However, I might misunderstand the application here: if the first column that disables the attachments exist, but the last column doesn't, can another animation then during its duration overwrite that even if it's on another track? Because the columns are identical, and as far as I'm concerned, as long as the first one goes through, it should be fine.
I'm not quite sure what you mean with the above sentence. Keys on higher tracks overwrite lower track's keys, no matter how many times the same identical state is keyed on a single track, or how long ago that was.
JonathanAndersen This has been due to both the draw order hierarchy, skins and editions wished by the game designers, and I should indeed be better organizing that, its definitely something that can be tightened up. Thanks for pointing it out, however that is not the issue I request assistance on.
I'm fully aware that you didn't request assistance on that. If you're aware that better ways exist, that's fine. It just looked as if the basic principles were not understood, which leads to more time spent on problems from both the user's and our side, which I would like to avoid.
JonathanAndersen Key point is: uncheck clean up haven't worked in fixing the issue, for me at least and our programmer, but the color opacity change have, which you do still have in your screenshots.
Did you update the Spine Editor to 4.1.24 and retry exporting with Animation clean up
disabled? It would be very strange if the same version works as intended on my machine and not on yours.