ARSession failed to start

Hello,

In our app, it always fail when ARSession starts itself. We have the right packages Apple visionOS XR Plugin (1.1.4) and ARFoundation (5.1.2) and in our player setting, XR Plug-in Management has Apple visionOS Plug-in provider enabled with initialize XR on Startup checked. We are testing on a visionPro device.

No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available. This feature is either not supported on the current platform, or you may need to enable a provider in <b>Project Settings</b> > <b>XR Plug-in Management</b>.
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:GetActiveSubsystemInstance()
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:EnsureSubsystemInstanceSet()
UnityEngine.XR.ARFoundation.ARSession:OnEnable()

Thank you

Do you have an AR Session component in your scene? What is your scene setup and or do you load directly into the AR scene?

Yes, I do and the first and only scene is the AR scene.

I have resolved the issue by copying everything into a new project with a fresh setup there. I wonder if it was related to the reason that we are porting from an iOS project, and some settings is not clear in the back.

Glad you got it resolved, if you are able to find a small repo please submit a bug report so we can track down the issue.