Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug Error during Data Recording playback captured via Unity AR Companion

Discussion in 'Unity MARS' started by larryPlayablStudios, Jun 15, 2022.

  1. larryPlayablStudios

    larryPlayablStudios

    Joined:
    May 15, 2018
    Posts:
    34
    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:
    Code (CSharp):
    1. "com.unity.ar-companion-core": "1.0.1-preview.2",
    2.     "com.unity.collab-proxy": "1.15.16",
    3.     "com.unity.content-manager": "0.1.6-preview",
    4.     "com.unity.feature.development": "1.0.1",
    5.     "com.unity.ide.rider": "3.0.14",
    6.     "com.unity.ide.visualstudio": "2.0.15",
    7.     "com.unity.ide.vscode": "1.2.5",
    8.     "com.unity.mars": "1.4.1",
    9.     "com.unity.mars-ar-foundation-providers": "1.4.1",
    10.     "com.unity.mars-ar-foundation-support": "file:../localcontentpacks/arfoundationsupport_standard",
    11.     "com.unity.mars-companion-core": "1.0.0-preview.1",
    12.     "com.unity.mars-nav-mesh": "1.4.1",
    13.     "com.unity.postprocessing": "3.2.2",
    14.     "com.unity.runtime-scene-serialization": "0.6.0-preview",
    15.     "com.unity.test-framework": "1.1.31",
    16.     "com.unity.textmeshpro": "3.0.6",
    17.     "com.unity.timeline": "1.6.4",
    18.     "com.unity.ugui": "1.0.0",
    19.     "com.unity.visualscripting": "1.7.6",
    20.     "com.unity.xr-content.mars-sim-environments": "file:../ContentPackages/com.unity.xr-content.mars-sim-environments.tgz",
    21.     "com.unity.xr-content.template-mars-basic": "file:../ContentPackages/com.unity.xr-content.template-mars-basic.tgz",
    22.     "com.unity.xr-content.template-mars-platformer": "file:../ContentPackages/com.unity.xr-content.template-mars-platformer.tgz",
    23.     "com.unity.xr-content.template-training": "file:../ContentPackages/com.unity.xr-content.template-training.tgz",
    24.     "com.unity.xr.arfoundation": "4.2.3",
    25.     "com.unity.xr.arkit": "4.2.3",
    26.     "com.unity.xr.interaction.toolkit": "2.0.2",
    27.     "com.unity.xr.management": "4.2.1",
    28.     "com.unity.modules.ai": "1.0.0",
    29.     "com.unity.modules.androidjni": "1.0.0",
    30.     "com.unity.modules.animation": "1.0.0",
    31.     "com.unity.modules.assetbundle": "1.0.0",
    32.     "com.unity.modules.audio": "1.0.0",
    33.     "com.unity.modules.cloth": "1.0.0",
    34.     "com.unity.modules.director": "1.0.0",
    35.     "com.unity.modules.imageconversion": "1.0.0",
    36.     "com.unity.modules.imgui": "1.0.0",
    37.     "com.unity.modules.jsonserialize": "1.0.0",
    38.     "com.unity.modules.particlesystem": "1.0.0",
    39.     "com.unity.modules.physics": "1.0.0",
    40.     "com.unity.modules.physics2d": "1.0.0",
    41.     "com.unity.modules.screencapture": "1.0.0",
    42.     "com.unity.modules.terrain": "1.0.0",
    43.     "com.unity.modules.terrainphysics": "1.0.0",
    44.     "com.unity.modules.tilemap": "1.0.0",
    45.     "com.unity.modules.ui": "1.0.0",
    46.     "com.unity.modules.uielements": "1.0.0",
    47.     "com.unity.modules.umbra": "1.0.0",
    48.     "com.unity.modules.unityanalytics": "1.0.0",
    49.     "com.unity.modules.unitywebrequest": "1.0.0",
    50.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    51.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    52.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    53.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    54.     "com.unity.modules.vehicles": "1.0.0",
    55.     "com.unity.modules.video": "1.0.0",
    56.     "com.unity.modules.vr": "1.0.0",
    57.     "com.unity.modules.wind": "1.0.0",
    58.     "com.unity.modules.xr": "1.0.0"
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    Hey there,

    We have been investigating this issue and haven't been able to reproduce it, could you tell us specifically what are you trying to do / how can we reproduce this error?.

    Or if you have a project we can take a look into it would be best.

    A couple of questions to follow up:
    * Are you using the old or the new input system
    * What type of data are you including in the recordings? Video, camera path, surfaces , point-cloud?
    * Do you have any proxy or anything else in your scene besides a point cloud visualizer and a plane visualizer?
    * From your manifest; I would assume you are targeting iOS, correct?.

    Could you check if you get this error on a 2019 unity version but higher than 2019.4.x ?
     
  3. mtschoen

    mtschoen

    Unity Technologies

    Joined:
    Aug 16, 2016
    Posts:
    196
    Hey there. Sorry to hear you're having trouble with MARS!

    Do you mind sharing the recording with us? If you share the cloud ID we should be able to download the recording on our end and test it out in the Editor. You can find the cloud ID by hovering over the resource in the Resource Manager window in the editor. A tooltip should show up with the cloud ID, which you can copy down manually or share via screenshot.

    Thanks!