Scaling Moves Objects

Whenever I go to scale an object it moves to object towards the center of the map? Only some objects are having this issue, I dont undertstand what would be causing this, I have not changed any settings.

I don’t think you’re scaling the transform you think you are.
When an object’s parent is scaled it must move in world space to reflect the same position in local space.

If your object has no parent then look where the handle gizmo is. If it isn’t in the center of your object then there’s your problem. I don’t know how to move the center around using the editor but perhaps your code is doing it somewhere.