Moving a GameObject with the AR Camera


I need a little help in this. In my project I am trying to navigate to a point using an Arrow. The arrow will be pointing to the desired location and it will help the user for navigation.
Now the issue is that the arrow is point toward that particular location but it itself is staying in the same place while point it and the arrow is not moving with the camera.

In the beginning, I have place the Arrow under Camera offset but it didn’t worked so I have placed it under XR Origin and Main Camera also but it showed the same result.

I have tried this with MARS and it worked well, but not with the XR Origin.

Please help me in guiding as how should I move the gameobject with my camera.