2d box collider

Idk what exactly happen my box collider 2d move by his own, the offset move and when I run my collider box just move
2358543--159934--1.jpg 2358543--159935--Untitled.jpg

Could you post the code related to this?

It looks like you are modifying the colliders position instead of the gameobjects position.

I inactive all the code and remove all script components but it still moving, and u see some not moving. But if I click the colider at inspector like inactive and active the collider back to normal position, but when I run at play mode the collider move again. Idk what’s happening maybe unity error or bug ??

Are you sure your scene is saved?

yea sure. I move into scene and back here. But I allready trick it and it work. No clue about this till now. So when I active and inactive the object the collider back to the position, but when I run in play mode the collider jump into some position. So I make my object inactive at first then at void start I activate it, then the collider don’t move to any where bcos like I click inactive to active. Without setactive change or something the collider will jump. That’s the easiest trick I found now