Hi,
I recently tried to build the latest commit and found that when executing the code on a VIVE XR Elite device, the application cannot run properly as when the method ExportAlignData in SpatialManager.cs and MarterManager.cs generates an exception due to the fact that it is run on a separate thread.
I can comment the call to the method ExportAlignDataAsync to force the code to run on the main thread. It hangs the app for a short while but works though a proper fix would be appreciated. The problem happens when allocating the AlignData class and passing a transform that cannot be accessed outside the main thread.
Thank you in advance.
Hi,
I recently tried to build the latest commit and found that when executing the code on a VIVE XR Elite device, the application cannot run properly as when the method
ExportAlignDatainSpatialManager.csandMarterManager.csgenerates an exception due to the fact that it is run on a separate thread.I can comment the call to the method
ExportAlignDataAsyncto force the code to run on the main thread. It hangs the app for a short while but works though a proper fix would be appreciated. The problem happens when allocating theAlignDataclass and passing a transform that cannot be accessed outside the main thread.Thank you in advance.