Bunch of nativefixedlist errors when using PlaneSubSystem

Running plane finding - everything works fine aside from these errors in the log.

Unity Editor version:
2022.2.0b8
ML2 OS version:
Build: B3E.220721.07-R.027
SDK Version 29
MLSDK version:
0.53.3
Host OS: (Windows/MacOS)
Windows

Error messages from logs (syntax-highlighting is supported via Markdown):

2022-09-20 13:02:05.422 18630 18651 Error Unity InvalidOperationException: Cannot Add when Length (30) is already at (30)
2022-09-20 13:02:05.422 18630 18651 Error Unity   at UnityEngine.XR.MagicLeap.NativeFixedList`1[T].Add (T item) [0x00000] in <00000000000000000000000000000000>:0 
2022-09-20 13:02:05.422 18630 18651 Error Unity   at UnityEngine.XR.MagicLeap.PlanesSubsystem+ConvexHullGenerator.Giftwrap (Unity.Collections.NativeArray`1[T] points, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[UnityEngine.Vector2]& convexHullOut) [0x00000] in <00000000000000000000000000000000>:0 
2022-09-20 13:02:05.422 18630 18651 Error Unity   at UnityEngine.XR.MagicLeap.PlanesSubsystem+MagicLeapProvider.GetBoundary (UnityEngine.XR.ARSubsystems.TrackableId trackableId, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[UnityEngine.Vector2]& convexHullOut) [0x00000] in <00000000000000000000000000000000>:0 
2022-09-20 13:02:05.422 18630 18651 Error Unity   at UnityEngine.XR.ARFoundation.ARPlane.UpdateBoundary (UnityEngine.XR.ARSubsystems.XRPlaneSubsystem subsystem) [0x00000] in <00000000000000000000000000000000>:0 
2022-09-20 13:02:05.422 18630 18651 Error Unity   at UnityEngine.XR.ARFoundation.ARPlaneManager.OnAfterSetSessionRelativeData (UnityEngine.XR.ARFoundat

Here's our adapted planes example;

using System.Collections;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.MagicLeap;

public class PlaneExample : MonoBehaviour
{
    private ARPlaneManager planeManager;

    [SerializeField, Tooltip("Maximum number of planes to return each query")]
    private uint maxResults = 100;

    [SerializeField, Tooltip("Minimum hole length to treat as a hole in the plane")]
    private float minHoleLength = 0.5f;

    [SerializeField, Tooltip("Minimum plane area to treat as a valid plane")]
    private float minPlaneArea = 0.25f;

    private readonly MLPermissions.Callbacks permissionCallbacks = new();

    private void Awake()
    {
        permissionCallbacks.OnPermissionGranted += OnPermissionGranted;
        permissionCallbacks.OnPermissionDenied += OnPermissionDenied;
        permissionCallbacks.OnPermissionDeniedAndDontAskAgain += OnPermissionDenied;
    }

    private void OnDestroy()
    {
        permissionCallbacks.OnPermissionGranted -= OnPermissionGranted;
        permissionCallbacks.OnPermissionDenied -= OnPermissionDenied;
        permissionCallbacks.OnPermissionDeniedAndDontAskAgain -= OnPermissionDenied;
    }

    private void Start()
    {
        //Keep searching for planemanager if the MRTK manager scene hasn't loaded yet
        StartCoroutine(SearchForARPlaneManager());
    }

    private IEnumerator SearchForARPlaneManager()
    {
        while (planeManager == null)
        {
            Debug.Log("Searching for ARPlaneManager");
            
            planeManager = FindObjectOfType<ARPlaneManager>();
            
            if (planeManager == null)
            {
                Debug.LogError("Failed to find ARPlaneManager in scene");
            }
            
            yield return new WaitForSecondsRealtime(0.5f);
        }
        
        Debug.Log("Found ARPlaneManager!");
        // disable planeManager until we have successfully requested required permissions
        planeManager.enabled = Application.isEditor;
        
#if UNITY_MAGICLEAP && !UNITY_EDITOR
        MLPermissions.RequestPermission(MLPermission.SpatialMapping, permissionCallbacks);
#endif
    }

    
    private void Update()
    {
        if(planeManager == null)
            return;
        if (!planeManager.enabled)
            return;
        
        PlanesSubsystem.Extensions.Query = new PlanesSubsystem.Extensions.PlanesQuery
        {
            Flags = planeManager.currentDetectionMode.ToMLQueryFlags() | PlanesSubsystem.Extensions.MLPlanesQueryFlags.Polygons | PlanesSubsystem.Extensions.MLPlanesQueryFlags.Semantic_All,
            BoundsCenter = Camera.main.transform.position,
            BoundsRotation = Camera.main.transform.rotation,
            BoundsExtents = Vector3.one * 20f,
            MaxResults = maxResults,
            MinHoleLength = minHoleLength,
            MinPlaneArea = minPlaneArea
        };
    }

    private void OnPermissionGranted(string permission)
    {
        if(permission == MLPermission.SpatialMapping)
            planeManager.enabled = true;
    }

    private void OnPermissionDenied(string permission)
    {
        if (permission == MLPermission.SpatialMapping)
        {
            Debug.LogError($"Failed to create Planes Subsystem due to missing or denied {MLPermission.SpatialMapping} permission. Please add to manifest. Disabling script.");
            enabled = false;
        }
    }
}
1 Like

Can you clarify if this is blocking you from using Plane Finding accurately?

Define "accurately". As said, everything works as expected, except for the errors.
But errors may be hinting at the service failing to add or update planes (which we really have no way of testing whether that's the case) - we just work with what the planes the SDK returns, and they seem to behave "as expected".

1 Like

Although we have a bug where sometimes ceiling planes are defined as wall planes, but that may be our code doing weird stuff.

We're also getting this for a single frame before the errors appears (frequently)

2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments leapcore/frameworks/perception/services/planes_manager/client/src/client.cpp(101) SendPlanesRequest():
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments ERR: [stack trace begin]
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #00 pc 000000000001555a  /system/lib64/libml_perception_planes.so (ml::pf::planes_manager::Client::SendPlanesRequest(ml::pil::ss::PlanesRequest const&)+2762)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #01 pc 0000000000014003  /system/lib64/libml_perception_planes.so (ml::perception::datasources::BinderPlanesDataSource::SendRequest(ml::pil::ss::PlanesRequest const&, unsigned long*) const+19)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #02 pc 0000000000010de2  /system/lib64/libml_perception_planes.so (ml::perception::components::planes::Planes::SendRequest(ml::pil::ss::PlanesRequest const&, unsigned long*)+162)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #03 pc 00000000000b9469  /system/lib64/libperception.magicleap.so (_Z22luminExceptionBoundaryIZ18MLPlanesQueryBeginE3$_3Lb1EEiOT_+345)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #04 pc 00000000000b92ad  /system/lib64/libperception.magicleap.so (MLPlanesQueryBegin+173)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #05 pc 0000000003fb2926  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #06 pc 0000000003fb27e2  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #07 pc 0000000003fb1a56  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #08 pc 0000000004d01e99  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #09 pc 000000000362d687  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #10 pc 000000000246fa7c  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #11 pc 000000000246f9b6  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libil2cpp.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #12 pc 0000000000a28e81  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #13 pc 0000000000a3679d  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #14 pc 0000000000a438b2  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #15 pc 0000000000850a27  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #16 pc 000000000091fccc  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #17 pc 000000000091fd10  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #18 pc 000000000091ff7b  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #19 pc 0000000000aaa52b  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #20 pc 0000000000ac3ac0  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/lib/x86_64/libunity.so
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #21 pc 00000000000045bd  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/oat/x86_64/base.odex (art_jni_trampoline+157)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #22 pc 000000000016ccd4  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+756)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #23 pc 000000000017d494  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+292)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #24 pc 000000000033b121  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+369)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #25 pc 000000000033573e  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1086)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #26 pc 0000000000645d43  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+723)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #27 pc 0000000000166299  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+25)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #28 pc 000000000000d880  /data/app/com.Laerdal.VirtualInstruments-MT0vI9iFPXv8yb1sNuv5rA==/base.apk
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #29 pc 000000000064699a  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1370)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #30 pc 0000000000166319  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+25)
2022-09-26 10:44:15.876 24337 24358 Error com.Laerdal.VirtualInstruments #31 pc 000000000000c
2022-09-26 10:44:15.989 24337 24358 Error Unity InvalidOperationException: Cannot Add when Length (30) is already at (30)
2022-09-26 10:44:15.989 24337 24358 Error Unity   at UnityEngine.XR.MagicLeap.NativeFixedList`1[T].Add (T item) [0x00000] in <00000000000000000000000000000000>:0 
2022-09-26 10:44:15.989 24337 24358 Error Unity 

1 Like

Started seeing these errors on every frame randomly when running our app. Sometimes starting up the app everything works fine, but sometimes these errors are spammed, the screen flickers, and there's no spatial mapping happening.

2022-10-06 12:23:00.820 1243 1264 Error Unity InvalidOperationException: Cannot Add when Length (90) is already at (90)
2022-10-06 12:23:00.820 1243 1264 Error Unity   at UnityEngine.XR.MagicLeap.NativeFixedList`1[T].Add (T item) [0x00000] in <00000000000000000000000000000000>:0 
2022-10-06 12:23:00.820 1243 1264 Error Unity   at UnityEngine.XR.MagicLeap.PlanesSubsystem+ConvexHullGenerator.Giftwrap (Unity.Collections.NativeArray`1[T] points, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[UnityEngine.Vector2]& convexHullOut) [0x00000] in <00000000000000000000000000000000>:0 
2022-10-06 12:23:00.820 1243 1264 Error Unity   at UnityEngine.XR.MagicLeap.PlanesSubsystem+MagicLeapProvider.GetBoundary (UnityEngine.XR.ARSubsystems.TrackableId trackableId, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[UnityEngine.Vector2]& convexHullOut) [0x00000] in <00000000000000000000000000000000>:0 
2022-10-06 12:23:00.820 1243 1264 Error Unity   at UnityEngine.XR.ARFoundation.ARPlane.UpdateBoundary (UnityEngine.XR.ARSubsystems.XRPlaneSubsystem subsystem) [0x00000] in <00000000000000000000000000000000>:0 
2022-10-06 12:23:00.820 1243 1264 Error Unity   at UnityEngine.XR.ARFoundation.ARPlaneManager.OnAfterSetSessionRelativeData (UnityEngine.XR.ARFoundat
2022-10-06 12:23:01.107 1243 1243 Warn UnityGfxDeviceW type=1400 audit(0.0:14446): avc: denied { search } for name="traces" dev="nvme0n1p37" ino=7602179 scontext=u:r:untrusted_app:s0:c101,c256,c512,c768 tcontext=u:object_r:trace_data_file:s0 tclass=dir permissive=0
2022-10-06 12:23:02.286 1243 1264 Error com.Laerdal.VirtualInstruments leapcore/frameworks/perception/services/meshing_manager/client/src/client.cpp(102) GetMeshingInfoResponse():
2022-10-06 12:23:02.286 1243 1264 Error com.Laerdal.VirtualInstruments ERR:  exception: Error
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments leapcore/frameworks/perception/services/meshing_manager/client/src/client.cpp(102) GetMeshingInfoResponse():
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments ERR: [stack trace begin]
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #00 pc 0000000000010137  /system/lib64/libml_meshing_manager_client.so (ml::perception::meshing_manager::Client::GetMeshingInfoResponse(unsigned long, ml::pil::ss::MeshingMeshInfoPtr*)+1911)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #01 pc 0000000000012aec  /system/lib64/libml_perception_meshing.so (ml::perception::datasources::BinderMeshingDataSource::GetResponse(unsigned long const&, ml::pil::ss::MeshingMeshInfoPtr*) const+44)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #02 pc 000000000000f3c4  /system/lib64/libml_perception_meshing.so (ml::perception::components::meshing::Meshing::GetMeshingInfoResponse(unsigned long, ml::pil::ss::MeshingMeshInfoPtr*)+164)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #03 pc 0000000000095723  /system/lib64/libperception.magicleap.so (MLMeshingGetMeshInfoResult+243)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #04 pc 000000000019aaed  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libml_sdk_loader.so (_ZN9DelayCallI10perception35MLMeshingGetMeshInfoResultDelayCalliJmmP17MLMeshingMeshInfoEEclEmmS3_+77)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #05 pc 000000000019a0db  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libml_sdk_loader.so (_Z30MLMeshingGetMeshInfoResultShimIJmmP17MLMeshingMeshInfoEEiDpT_+123)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #06 pc 000000000019a054  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libml_sdk_loader.so (MLMeshingGetMeshInfoResult+36)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #07 pc 00000000000bf67b  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libMagicLeapXrProvider.so (MeshingSubsystem::ProcessPendingInfoRequest()+75)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #08 pc 00000000000bf36e  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libMagicLeapXrProvider.so (MeshingSubsystem::GetMeshInfos(UnityXRMeshInfoAllocator*)+110)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #09 pc 00000000000bd504  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libMagicLeapXrProvider.so (_ZZN16MeshingSubsystem10InitializeEPvS0_ENK3$_0clES0_S0_P24UnityXRMeshInfoAllocator+36)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #10 pc 00000000000bd4d4  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libMagicLeapXrProvider.so (_ZZN16MeshingSubsystem10InitializeEPvS0_EN3$_08__invokeES0_S0_P24UnityXRMeshInfoAllocator+36)
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #11 pc 0000000000e814bc  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #12 pc 0000000000e826b3  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #13 pc 00000000007f310b  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #14 pc 0000000004847e05  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libil2cpp.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #15 pc 000000000299450c  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libil2cpp.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #16 pc 0000000002994446  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libil2cpp.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #17 pc 0000000000a28e81  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #18 pc 0000000000a3679d  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #19 pc 0000000000a438b2  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #20 pc 0000000000850a27  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #21 pc 000000000091fccc  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #22 pc 000000000091fd10  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #23 pc 000000000091ff7b  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #24 pc 0000000000aaa52b  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #25 pc 0000000000ac3ac0  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/lib/x86_64/libunity.so
2022-10-06 12:23:02.297 1243 1264 Error com.Laerdal.VirtualInstruments #26 pc 0000000000004e0d  /data/app/com.Laerdal.VirtualInstruments-i4qWl0XZ1l1ZWpW7LJ6kng==/oat/x86_64/base.odex (art_jni_tr
2022-10-06 12:23:02.308 1243 1264 Error com.Laerdal.VirtualInstruments leapcore/frameworks/perception/services/meshing_manager/client/src/client.cpp(94) GetMeshingInfoResponse():
2022-10-06 12:23:02.308 1243 1264 Error com.Laerdal.VirtualInstruments ERR:  exception: Invalid Meshing Info Handle.
2022-10-06 12:23:02.319 1243 1264 Error com.Laerdal.VirtualInstruments leapcore/frameworks/perception/services/meshing_manager/client/src/client.cpp(94) GetMeshingInfoResponse():
2022-10-06 12:23:02.319 1243 1264 Error com.Laerdal.VirtualInstruments ERR: [stack trace begin]

EDIT; When this happens, plane finding still works, but spatial mapping doesn't.

1 Like

We're still seeing these errors with the latest 1.0.0 SDK and OS version 417.

2022-10-19 08:54:37.274 15998 16022 Error Unity InvalidOperationException: Cannot Add when Length (36) is already at (36)
2022-10-19 08:54:37.274 15998 16022 Error Unity   at UnityEngine.XR.MagicLeap.NativeFixedList`1[T].Add (T item) [0x00000] in <00000000000000000000000000000000>:0 
2022-10-19 08:54:37.274 15998 16022 Error Unity 

Here's our packages in case it helps with identification of the issue;

1 Like

@TheMunk we've got the SDK team on this. Thanks for trying with the latest SDK. Can you follow up to @kvlasova if you make any progress?

3 Likes