Closed D33pTh0ught closed 2 years ago
The AR camera uses a custom projection matrix (provided by ARCore, ARKit, etc). Try copying the full projection matrix rather than just the FoV.
Ah of course thanks, that worked!
Is there an example of the working script for this?
Unity bug report case number Case 1412375
Describe the bug When performing camera stacking on the ARCamera, the Overlay Camera does not align with the ARCamera.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be possible to align the Overlay Camera with the AR Camera the same way it does when not using ARFoundation
Actual behavior It is not possible to align the view rect of an Overlay Camera to a Camera controlled by ARFoundation
Smartphone (please complete the following information):