Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExportAlignData generates an exception in build #2

Open
LeCommandeur opened this issue May 29, 2024 · 0 comments
Open

ExportAlignData generates an exception in build #2

LeCommandeur opened this issue May 29, 2024 · 0 comments

Comments

@LeCommandeur
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant