Hey,
I can’t seem to find an answer to this on the forums, but basically I’m using the following setup:
Unity 2018.3.6f1
AR Foundation 1.5.0-preview.2
ARKit 2.1.0-preview.5
It doesn’t seem to matter what I do, calling Camera.ViewportToScreenPoint in Update, LateUpdate, OnGUI, OnPreRender, OnPostRender, OnRenderObject - the alignment on the canvas is always off, almost lerping towards the target position.
Switching TrackedPoseDriver.updateType from UpdateAndBeforeRender to Update fixes this issue, but makes the actual AR tracking super inaccurate.
I’ve also looked at changing the script execution order, but because TrackedPoseDriver is a built in component I can’t modify this.
Any help would be appreciated!
Thanks,
Joe