I am trying out Unity AR Companion for the first time.
I have it linked with my MARS project, and I’m able to successfully capture and play a data recording in editor.
However, when I enter play mode in editor, I repeatedly get this error with different trackable names:
InvalidOperationException: Trackable FFFFFFFFFFFFFFFF-000000000000000B is being updated but is not in the list of trackables.
UnityEngine.XR.ARSubsystems.ValidationUtility`1[T].AddToSetAndThrowIfDuplicate (UnityEngine.XR.ARSubsystems.TrackableId trackableId, System.Boolean shouldBeInDictionary, System.String action) (at Library/PackageCache/com.unity.xr.arsubsystems@4.2.3/Runtime/TrackingSubsystem/ValidationUtility.cs:71)
UnityEngine.XR.ARSubsystems.ValidationUtility`1[T].ValidateAndThrow (UnityEngine.XR.ARSubsystems.TrackableChanges`1[T] changes) (at Library/PackageCache/com.unity.xr.arsubsystems@4.2.3/Runtime/TrackingSubsystem/ValidationUtility.cs:32)
UnityEngine.XR.ARSubsystems.ValidationUtility`1[T].ValidateAndDisposeIfThrown (UnityEngine.XR.ARSubsystems.TrackableChanges`1[T] changes) (at Library/PackageCache/com.unity.xr.arsubsystems@4.2.3/Runtime/TrackingSubsystem/ValidationUtility.cs:55)
UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.GetChanges (Unity.Collections.Allocator allocator) (at Library/PackageCache/com.unity.xr.arsubsystems@4.2.3/Runtime/PlaneTracking/XRPlaneSubsystem.cs:51)
UnityEngine.XR.ARFoundation.ARTrackableManager`5[TSubsystem,TSubsystemDescriptor,TProvider,TSessionRelativeData,TTrackable].Update () (at Library/PackageCache/com.unity.xr.arfoundation@4.2.3/Runtime/AR/ARTrackableManager.cs:170)
If I run one of the synthetic recordings that are included with MARS everything works fine.
Any thoughts?
Operating System: osx 12.4
Computer: M1 Max Macbook Pro
Unity Version: 2021.3.3f1 Intel
Packages:
"com.unity.ar-companion-core": "1.0.1-preview.2",
"com.unity.collab-proxy": "1.15.16",
"com.unity.content-manager": "0.1.6-preview",
"com.unity.feature.development": "1.0.1",
"com.unity.ide.rider": "3.0.14",
"com.unity.ide.visualstudio": "2.0.15",
"com.unity.ide.vscode": "1.2.5",
"com.unity.mars": "1.4.1",
"com.unity.mars-ar-foundation-providers": "1.4.1",
"com.unity.mars-ar-foundation-support": "file:../localcontentpacks/arfoundationsupport_standard",
"com.unity.mars-companion-core": "1.0.0-preview.1",
"com.unity.mars-nav-mesh": "1.4.1",
"com.unity.postprocessing": "3.2.2",
"com.unity.runtime-scene-serialization": "0.6.0-preview",
"com.unity.test-framework": "1.1.31",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.6.4",
"com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.7.6",
"com.unity.xr-content.mars-sim-environments": "file:../ContentPackages/com.unity.xr-content.mars-sim-environments.tgz",
"com.unity.xr-content.template-mars-basic": "file:../ContentPackages/com.unity.xr-content.template-mars-basic.tgz",
"com.unity.xr-content.template-mars-platformer": "file:../ContentPackages/com.unity.xr-content.template-mars-platformer.tgz",
"com.unity.xr-content.template-training": "file:../ContentPackages/com.unity.xr-content.template-training.tgz",
"com.unity.xr.arfoundation": "4.2.3",
"com.unity.xr.arkit": "4.2.3",
"com.unity.xr.interaction.toolkit": "2.0.2",
"com.unity.xr.management": "4.2.1",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"