Our Vision Pro app is fully immersive (using Metal) and is crashing after the headset is taken off and put back on. Does this log indicate the problem and solution to anyone?
<<< TAKE HEADSET OFF >>>
[XR] VisionOS Display Provider Destroying Textures
RequestDestroyTexture
RequestDestroyTexture
RequestDestroyTexture
[XR] VisionOS Display Provider Stop
[XR] VisionOS Display Provider Destroying Textures
[XR] Display Start
[XRInputSubsystem] A device connection with the id 1 has been reported twice without being disconnected.
ar_hand_tracking_provider_get_latest_anchors <0x30235a040>: Cannot get latest hand anchors, the provider is not running.
<<< PUT HEADSET BACK ON >>>
Resuming AR session after pause.
UnityEngine.XR.VisionOS.VisionOSSessionProvider:OnApplicationResume()
RequestCreateTexture
SetupRenderTextureFromXRRequest (id: 4 col: 0x12202ac60 d: 0x12204d6b0 sr: 0x0)
RenderTexture::Create (id: 4)
IVRDeviceCallback_CreateEyeTextureResources 0x12202ac60
IVRDeviceCallback_CreateEyeTextureResources 0x12204d6b0
ar_hand_tracking_provider_get_latest_anchors <0x30235a040>: Cannot get latest hand anchors, the provider is not running.
ar_hand_tracking_provider_get_latest_anchors <0x30235a040>: Cannot get latest hand anchors, the provider is not running.
Presenting a drawable without a device anchor. This drawable won't be presented.
<<< THIS IS IN RED >>>
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
CompositorServices Command Buffer (null) failed: Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted), NSUnderlyingError=0x301bd5710 {Error Domain=IOGPUCommandQueueErrorDomain Code=6 "(null)"}}
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
RequestCreateTexture
SetupRenderTextureFromXRRequest (id: 5 col: 0x1220f3530 d: 0x1220cd240 sr: 0x0)
RenderTexture::Create (id: 5)
IVRDeviceCallback_CreateEyeTextureResources 0x1220f3530
IVRDeviceCallback_CreateEyeTextureResources 0x1220cd240
ar_hand_tracking_provider_get_latest_anchors <0x30235a040>: Cannot get latest hand anchors, the provider is not running.