Skip to content

ExportAlignData generates an exception in build #2

Description

@LeCommandeur

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions