Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 138 forks source link

CreateAzureAnchor function call causes app to freeze and go back to home screen immediately #414

Open Grimes-Gif opened 1 year ago

Grimes-Gif commented 1 year ago

I was following the Hololens2 fundamentals tutorial for using Azure Spatial Anchors and set up my environment with unity 2020, the MRTK and openXR features, and ASA SDK core and windows, using the most recent versions of everything as the tutorials indicate.

I set up my azure resource group, gave the program the necessary credentials and deployed the app to my hololens2. I was able to start an azure session however whenever I clicked the CreateAzureAnchor button, which calls the function from the AR anchor module, the app would briefly hang for roughly half a second and than send me back to home screen. Upon running the app with the VS code debugger it turned up this error message:

BUG

Apparently the create azure anchor function call is telling me there was an access violation of some kind. There shouldn't be anything wrong with the credentials I provided considering I am able to start an azure session to begin with, and I am unsure on how to remedy this issue.

mozhonglv commented 1 year ago

I also have same question.