I've got an animation called π¬ Bonus_On and π¬ Bonus_Off that affects 3 slots, let's call em:
βͺ Bonus_Glow
βͺ Bonus_Star
βͺ Bonus_Text
When I play π¬ Bonus_On, I keyframe attach images like so:
βͺ Bonus_Glow
π(attach) Bonus_Glow.png
βͺ Bonus_Star
π(attach) Bonus_Star.png
βͺ Bonus_Text
π(attach) Bonus_x2.png
When I play π¬ Bonus_Off, I keyframe detaching all the images like so:
βͺ Bonus_Glow
π(attachment nothing)
βͺ Bonus_Star
π(attachment nothing)
βͺ Bonus_Text
π(attachment nothing)
The error in my JSON is on the π¬ Bonus_Off animation. The JSON says:
"Bonus_Off":{"slots":{"Bonus_Text":{"attachment":[{}]}}},
But that's only 1 of my 3 slots. π¨
If I turn off Animation clean up in my Export settings this appears to fix the error. Now my JSON properly says:
"Bonus_Off":{"slots":{"Bonus_Glow":{"attachment":[{}]},"Bonus_Star":{"attachment":[{}]},"Bonus_Text":{"attachment":[{}]}}},
So I'm keeping Animation clean up unchecked to make any animations work correctly. Is this a bug? Or am I setting up something wrong? Any help would be greatly appreciated! π