I’m trying to apply a direction vector to the local space of an object but i get confusing results.

For example i use the forward vector. First image shows the forward vector of the transform of the object and the InverseTransformDirection from a world space forward vector. This is all right.

Next i rotate the object 90 degrees on the Y axis, so now the object transform forward vector is (1, 0, 0) which is correct but the InverseTransformDirection is wrong. Shouldn’t these values be the same?