I’m allowing a user to choose camera feed’s FPS and resolution by selecting respective
XRCameraConfiguration and assigning chosen configuration to arCameraManager.currentConfiguration.
This works fine but during the change there’s noticeable lag in the camera feed and apparently session isn’t tracking for couple seconds. If device is physically moved/rotated, all virtual objects end up in a different place. Here’s a video: https://youtube.com/shorts/iOxtP5JJ6Dk
I understand that when session is interrupted by the config change it’s not tracking and hence the drift, but is there a way to restore/resume tracking properly somehow?
Using ARFoundation 5.0 on ARKit