Feedback: ARPlaneManager spamming a lot of error messages

localjoost
Wed, 19 Jun 2024 06:48:06 +0000
Unity Development

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. 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?

8 posts - 2 participants