Error in World Anchoring?

Hello, I’ve been using the ARAnchorManager to attempt to World Anchor objects, but I get an error saying the World Tracking Provider is not found. Anyone else experience this or does anyone have success with World Anchoring?

I ran into the same issue. Were you able to resolve it? When playing in the Unity Editor, the anchors load fine, but when running on a device, XCode shows the following issue:

It turns out that multiple scenes will try to register multiple world tracking providers. Plus, the volume window scene is started before the immersive scene, so the latter scene won’t successfully register the world tracking provider. So, you may want to uncheck the first one or make sure only one registration happens all the time.

Here’s the detail of the collision:

Xcode Log:

Adding AR data provider for feature PositionAndRotation
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:Update(XRSessionUpdateParams, Configuration)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams)
UnityEngine.XR.ARFoundation.ARSession:Update()

Then you will see “a provider has already been registered for this feature.”

Cannot register AR data provider of type VisionOSWorldTrackingProvider for PositionAndRotation; a provider has already been registered for this feature.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
UnityEngine.XR.VisionOS.VisionOSProviderRegistration:RegisterProvider(Feature, IVisionOSProvider)
UnityEngine.XR.VisionOS.VisionOSSessionProvider:.ctor()
System.Reflection.RuntimeConstructorInfo:InternalInvoke(Object, Object[], Exception&)
System.Reflection.RuntimeConstructorInfo:InternalInvoke(Object, Object[], Boolean)
System.RuntimeType:CreateInstanceMono(Boolean, Boolean)
System.RuntimeType:CreateInstanceSlow(Boolean, Boolean, Boolean, Boolean)
System.RuntimeType:CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, Boolean, StackCrawlMark&)
System.Activator:CreateInstance(Type, Boolean, Boolean)
System.Activator:CreateInstance(Type, Boolean)
System.Activator:CreateInstance(Type)
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider`2:CreateProvider()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider`2:Create()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider`2:CreateImpl()
UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider:UnityEngine.ISubsystemDescriptor.Create()
UnityEngine.XR.Management.XRLoaderHelper:CreateSubsystem(List`1, String)
UnityEngine.XR.VisionOS.VisionOSLoader:Initialize()
UnityEngine.XR.ARFoundation.LoaderUtility:Initialize()
PolySpatial.Template.SceneUtility:OnSceneUnloaded(Scene)
UnityEngine.Rendering.VisibleReflectionProbe:GetHashCode()
UnityEngine.SceneManagement.SceneManager:Internal_SceneUnloaded(Scene)