Why sprite change position on animation 2D

Gif is correctly same with Png but why does this looks like this in Unity

8501042--1131977--upload_2022-10-9_22-27-29.png
8501042--1131980--ezgif.com-gif-maker.gif

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, especially any errors you see
  • links to documentation you used to cross-check your work (CRITICAL!!!)

You may edit your post above.

Along with the helpful hints from Kurt in the proper query thread format, it will be a lot more useful in sharing more info in what exactly you are finding an issue on.

If I’m trying to infer your issue tho, I presume the issue is why the PNG sprite is different from the GIF sprite when doing a sprite swap?

It will be good to show how you’ve imported those assets and the settings and if they are already up to your expectations. And also what is your Unity version, as I’ve tried to reproduce this and found no issues so far