transform.position to transform.position isn't always the same world space location?

I’m a bit mind blown on this issue I’m having. I always spot transform.position was always world space position.
Unless its being thrown off by a parent transform having a different scale?

This is what I’m doing below and TransformA doesn’t move to where TransformB is in world space.
Must be something im missing?

Transform
   Transform
      Transform
          TransformA



TransformB


TransformA.position = TransformB.position;

IIRC, transform.position always relates to its local coordinate system. If you’re using a GameObject without any parents, that is the world coordinate system, obviously. If your Gameobject does have a parent, however, it is offset by its position and setting this GameObject’s positions to (0, 0, 0), it will set the Gameobject to the center of its parent.
Anyone correct me if I’m wrong.

Nop, I’m an idiot. Each GameObject’s transform.position stores its position in World Space coordinates. The inspector shows the local coordiantes, though.

Just did some more debugging. Turns out has nothing to do with position to position.
Something else is causing this. Not sure what yet though.