go to image and change compression also you can just google and its the first thing:
I use this feature but this error only occurs in the attack sprite, thank you very much for answering me, a friend of mine corrected this problem I believe it was during export, as I don't know how to do pixel art I asked for help.