I did set my custom pivot point in the sprite editor, and clicked apply. Then i drag the part into the scene, the pivot point remains center.
7 Answers
7Have you got this button:

Set to Center or Pivot?
Brilliant @Mmmpies ! Took me almost an hour to figure this out before I found this answer. Thank you.

In case someone like me searches for a similar problem:
I could not get the anchor to move so I tried the solution of using an Empty GameObject and put the sprite as a child to a position I can rotate it where I want. Works great.
@Mmmpies thank you.
This may help you .Try to change you pictures file into many types such as png. or jpeg .Because the problem may cause from the pictures file.
I made a tool for setting the Sprite pivot points in the editor while maintaining their world positions: GitHub - thepowerprocess/UnitySpritePivotEditor: Easily edits a 2D Sprite while maintaining its position
![]()
I had a similar problem. It would rotate using the pivot but it wouldn’t use it for sorting layers. So the player could walk halfway through the tree before going behind it. To fix this, click on the object in your scene. Under the Sprite Renderer, there is an option for “Sprite Sort Point”. It’s defaulted to Center. Change it to Pivot and that will fix it. My Pivot button at the top of my screen was already set to Pivot so it took me a while to figure out why it wasn’t sorting it by the pivot point.

I did not realize it was such a simple thing but thanks for your answer
– TonsOfFunwel posting as answer or comment was not clearly to me, there is only 1 small link what you can click to post a comment and a very big component to post an answer, so i overlooked it sorry :D
– TonsOfFunman! thanks for the answer! its very helpfull sorry for bad english^^
– yudistiraLol, so simple yet i feel so stupid. Thanks!
– SrPanquesitoYou're the man ! Thank you
– namvip1998unt