Sprite scaled down in an animation (SOLVED)

I have an atlas with few animation groups. One of them contains a sprite that is about 50% wider than the rest. And when playing the animation, the sprite is scaled down horizontally so that it seem to fit width of the other sprites. Increasing inner padding in atlas properties to about the width of the sprite changes this a bit, but does not fix the problem - the sprite is scaled down less.

1 Like

I thought it might be due to width of the game object being somehow fixed based on the sprite component default animation. So I changed it to a dummy animation that contains only this wide sprite. The green outline of the object in the editor is now wider, but the problem still remains, so it’s something else.

IIRC all images in an animation has to be the same size.

1 Like

Hmmm, strange, but ok, then there is the other problem I reported in Atlas packer removes padding of sprites (SOLVED) which makes it impossible to have a fixed size of all sprites…

Solved by making all the sprites in the animation equal in size.