I’ve got a rather weird issue that I’m having some trouble solving. My sprite animation works good in the editor (not in play mode), but when I play, visual artifacts appear on the sprite. The artifacts aren’t part of the images themselves, they appear to be introduced by the sprite packer. Disabling sprite packing allows the animations to play without artifacts.
With sprite packing off:
With sprite packing on:
Note the distortion in the top right corner.
The distortion is visible within the unity sprite packer:
It’s not consistently in that spot, each frame of the animation is distorted in a similarly small way, but over the whole it ruins the animation.
Original sprite file:
Import settings are sprite, single sprite, with a packing tag, 1 pixel to units, center pivot, bilinear filtering, 2048 max size and Truecolor format. As far as I know there’s no quality settings for the sprite packer, but it shouldn’t be losing quality like this should it? As I mentioned, disabling the sprite packer via project settings->editor->Sprite Packer and setting it to ‘disabled’ removes the artifacts, at the cost of draw calls.
Any idea why this is happening?