ARKit space to Unity3D space

For a use case, I have to send a 3D world point that I compute in ARKit to Unity.

I have all the native interface setup and I receive the coordinate in Unity. However, the position doesn’t line up in the world space of Unity as the coordinate has been calculated using ARKit camera pose.

How can I convert the ARKit space 3d point to Unity space?

Have to flip the z coordinate

[unity_x,unity_y,unity_z] = [arkit_x, arkit_y,-1*arkit_z]

Hope this helps someone