Recently integrated ARPlaneManager and plane detection into my application. I noticed when running the application multiple times after a few successful runs I get this error and the plane detection stops working. Once it occurs it happened in every restart of the application until i restart the headset.
07/18/24, 04:07:51 PM 10126 24380 24401 com.UnityTechnologies.com.unity.template.urpblank leapcore/frameworks/perception/data_sources/include/pad/xpad_data_source.h(105) GetClosestTimestampedData():
ERR: Data Not Found for timestamp: 23501661653us, now time: 23501762430us
I've included the log for additional information but looks like it could be a memory leak, not sure if its ML or Unity side?
Unity Editor version (if applicable): 2022.3.37f1 ML2 OS version: 1.8.0 MLSDK version: 2.3.0
I'm not sure what would cause the planes to stop working completely, although I was able to reproduce the perception error log that you are getting, my plane detection continued to work.
Do you mind capturing a full bug report and sharing it with us?
Have you been able to reproduce this using the Magic Leap examples application? Do you know around how many successful runs of the application before detection stops working properly? How large is the space that you are mapping?
We have since updated it to use the using MagicLeap.OpenXR.Features.Planes namespace instead of the legacy MLSDK APIs. Please let us know if this issue persists