# Feedback: ARPlaneManager spamming a lot of error messages

**URL:** <https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657>\
**Category:** Unity Development\
**Tags:** plane-detection\
**Created:** [June 19, 2024, 6:48am UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657 "2024-06-19T06:48:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![localjoost](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/localjoost/32/1829_2.png) [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Post date:** [June 19, 2024, 6:48am UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/1 "2024-06-19T06:48:06Z")

</div>

In my latest app Walk the World I have included error telemetry, and whenever someone uses the app for the first time, I see a lot of these error messages appear:

"Error: XrGetPlanePolygonBuffer in the Magic Leap API failed. Reason: ValidationFailure"  
and the stack trace just says "UnityEngine.XR.ARFoundation.ARTrackableManager`5:Update()"

I presume this caused by me using the ARPlaneManager to find horizontal planes ( [as I do here for HoloLens](https://localjoost.github.io/Using-ARPlaneManager-as-an-alternative-to-Scene-Understanding-with-MRTK3-on-HoloLens-2/). I have seen this twice now: once in a run by myself, but after a few seconds it ended and then I could select a location. But I also saw a user who generated about a full minute of these errors before - apparently - giving up. This is typically something that happens during the first startup. I could see them giving SpatialMap permission - and then the errors occurred.

Any idea what is going on here?

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [June 19, 2024, 10:34pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/2 "2024-06-19T22:34:22Z")

</div>

Hi @localjoost,

Thank you for reaching out regarding this issue. I would like to start by asking for a few more details.

- Unity Editor version
- ML2 OS Version
- ML SDK Version
- Development OS (e.g. Mac, Windows)

Are you using the MLSDK or OpenXR? What is the environment in which you are using the headset?

Best,

El

---

<div class="post-metadata">

**Author:** ![localjoost](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/localjoost/32/1829_2.png) [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Post date:** [June 20, 2024, 6:10am UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/3 "2024-06-20T06:10:33Z")

</div>

Hello @etucker ,  
What? You don't read my blog daily? 😉

- Unity 2022.2.32f1
- OS 1.7.0
- Development on Windows.
- Using OpenXR (of course!)

Also: the app is MRTK3 based.

As to SDKs, I hope this excerpt of the manifest file gives you all you want to know. I started out with a HoloLens app, then added all this to get it working on the ML

```auto
"com.atteneder.ktx": "https://github.com/atteneder/KtxUnity.git#v2.1.2",
"com.magicleap.mrtk3": "1.0.0",
"com.magicleap.soundfield": "3.4.4-231122.68.6849fab",
"com.magicleap.unitysdk": "2.2.0",
"com.microsoft.mixedreality.visualprofiler": "https://github.com/microsoft/VisualProfiler-Unity.git#v2.2.0",
"com.unity.asset-store-validation": "0.5.1",
"com.unity.inputsystem": "1.7.0",
"com.unity.mobile.android-logcat": "1.4.2",
"com.unity.performance.profile-analyzer": "1.2.2",
"com.unity.xr.arcore": "5.1.4",
"com.unity.xr.arfoundation": "5.1.4",
"com.unity.xr.hands": "1.4.1",
"com.unity.xr.interaction.toolkit": "2.5.4",
"com.unity.xr.magicleap": "7.0.0",
"com.unity.xr.management": "4.4.0",
"com.unity.xr.openxr": "1.10.0",

```

I got this by comparing your [own fork of the MRKT3](https://github.com/magicleap/MixedRealityToolkit-Unity) btw with my manifest file. I wrote a [neat little tool](https://localjoost.github.io/A-little-tool-to-compare-two-Unity-Manifest-files/) to do that. Might be useful to know

Does this help?

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [June 21, 2024, 7:00pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/4 "2024-06-21T19:00:07Z")

</div>

I have reached out to our team to see what we can find about this error and I will report back as soon as I learn more.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [July 2, 2024, 10:39pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/6 "2024-07-02T22:39:32Z")

</div>

Hi @localjoost,

I wanted to let you know that I have created a feedback ticket for this and I will report back as soon as I learn more.

Best,

El

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [July 3, 2024, 4:39pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/7 "2024-07-03T16:39:55Z")

</div>

What is the physical environment that you are working in like?

Are there any black surfaces or low lit areas? Is it mostly flat or are there a lot of objects near surfaces?

---

<div class="post-metadata">

**Author:** ![localjoost](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/localjoost/32/1829_2.png) [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Post date:** [July 3, 2024, 4:44pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/8 "2024-07-03T16:44:31Z")

</div>

This is my home office in which I do most of my test, from about this vantage point. The desk is indeed black but I am using the floor and the bed as test areas

 ![IMG_20240703_184215](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/4/4e6a66c890846cbd0ff6f110db9d8d8480cad21a.jpeg)

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [July 8, 2024, 9:36pm UTC](https://forum.magicleap.cloud/t/feedback-arplanemanager-spamming-a-lot-of-error-messages/3657/9 "2024-07-08T21:36:57Z")

</div>

Thank you for providing these details. I have submitted a feedback ticket to our team and they will have a look at this issue.
