So I just stumbled upon a bug that is probably update-specific. Here’s how it went.
- I have a “Menu” sprite object with a few animations. I never bothered changing the default collision mask because it was unnecessary. The sprite had 10 animations.
- I add animation 11. Same size and all. Don’t even look at the collission mask.
- When the game needs to switch the sprite’s animation from 11 to something else, it just freezes. Completely. I checked it with several different sprites and adding a new animation seemed to cause it. Making the sprite switch to any of the previous 10 animations worked like a charm. Making it switch to animation 11 worked too. But upon trying to switch it from animation 11 to something else, the game froze.
- When checking the collision mask of the “menu” sprite object, I see some of them have defined collision masks now (as in, X and Y coordinates for 4 points exist) while others say the object uses the default collision mask. Before the update, each animation used the default collision mask. Now, when switching between different animations, some showed coordinates for the 4 points while others said the default mask was used.
- Ticking the “use same collision mask on all animations” button and thus letting them all have a defined collision mask solved the issue.
So, in conclusion. Adding a new animation to an object that previously had a default collision mask freezes the game when switching from that new animation to one of the previously added ones.