MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.36k forks source link

Problem when trying to create anchor in the "HelloAR" demo #93001

Open BruddaNP opened 2 years ago

BruddaNP commented 2 years ago

Hey!

I am trying to get into developing apps for the HoloLens 2 in Unity. As Spatial Anchors seems cool i wanted to try this demo but I can not get the saving part to work.

While app is running on the Hololens 2, I navigate to the "LocalSharedDemo" scene and press go. When getting to the step where the anchor is supposed to save and upload to the Sharing Anchor Service, the app stops and Visual Studio gives me the following: "Exception thrown at 0x00007FF8A0203498 (ntdll.dll) in HelloAR U3D.exe: 0xC0000008: An invalid handle was specified".

I am pretty fresh to Azure and everything surrounding it so some help here would be much appreciated.

Unity Editor: 2020.3.31f1 Visual Studio 2019 Community


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

AshokPeddakotla-MSFT commented 2 years ago

@BruddaNP Thanks for the feedback! We are currently investigating and will update you shortly.

AshokPeddakotla-MSFT commented 2 years ago

@BruddaNP Apologies for the delayed response. I'm unable to reproduce this issue. Adding SME and author @pamistel for further review and update.

pamistel commented 2 years ago

hi

The sharing anchor tutorial requires additional setup. Next to setting up and running the app, you also have to follow the steps to set up the sharing service

Does this resolve your issue?