Every time I click on create spatial anchor my MR application closes.

Azzam, Israa 0 Reputation points
2023-12-29T16:15:15.69+00:00

Hello,

I am a beginner with Azure spatial anchor and working on this tutorial:

https://learn.microsoft.com/en-us/training/modules/azure-spatial-anchors-tutorials/3-exercise-get-started-with-azure-spatial-anchors

I followed the tutorial step by step and built and deployed the application on Hololens 2 and no configuration errors. However, when I started the app, I followed the following instructions as in the tutorial:

When the app runs on your device, follow the on-screen instructions displayed on the Azure Spatial Anchor Tutorial Instructions panel:

  1. Move the cube to a different location.
  2. Start an Azure session.
  3. Create an Azure anchor at the location of the cube.
  4. Stop the Azure session.
  5. Remove the local anchor to allow the user to move the cube.
  6. Move the cube to somewhere else.
  7. Start an Azure session.
  8. Find the Azure anchor to position the cube at the location from step 3.
  9. Delete the Azure anchor.
  10. Stop the Azure session.

On step 3 (create azure anchor), the application closes directly. Please, does anyone know what might be wrong?

Azure Spatial Anchors
Azure Spatial Anchors
An Azure service that is used to build immersive three-dimensional applications and experiences that map, persist, and restore content or points of interest at real-world scale.
88 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.