How do I use Azure Spatial Anchors methods?

lfierce 1 Reputation point
2022-11-06T11:36:34.29+00:00

Hi there

I am working on an ARCore project in unreal engine and wanted to use the Azure Spatial Anchors plugin. I am working on Ubuntu 20.04. I followed the guidelines of the Azure Spatial Anchors set up page but when trying to just use the methods that they display in the tutorial - not a single method regarding Azure Spatial Anchors shows up. I have both the general Azure Spatial Anchors Plugin and the specific one for ARCore enabled and restarted the engine.

What additional steps do I have to undertake which are not in the tutorial?

Thanks in advance!

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

2 answers

Sort by: Most helpful
  1. Nathan Manis - MSFT 481 Reputation points Microsoft Employee
    2022-11-07T13:54:26.703+00:00

    Hi @lfierce ,

    Thank you for the post and question.

    For the project, do you have the OpenXR plugin installed too? I did not see the screen shot having the OpenXR plug-in listed. Here are the sample docs to help on the settings and scenario:
    https://github.com/microsoft/Microsoft-OpenXR-Unreal

    Install the plugin from the Unreal Marketplace

    Install the Microsoft OpenXR plugin from the Unreal Engine Marketplace to your engine.
    Open Unreal Engine, go to Project Settings > Plugins and search for "Microsoft OpenXR". Verify that the plugin has been enabled. You may need to restart the engine for changes to take
    effect.
    ⚠️ The "Microsoft Windows Mixed Reality" plugin must be disabled in your project for OpenXR to work.

    Also, can you share which guide you are following?

    The reason that I am asking about which guide you are following is that I am not finding anything that shows Ubuntu as the host OS in the samples or guides here at Microsoft. Everything we have is on Windows to date for the host OS.

    Thanks,
    Nathan

    0 comments No comments

  2. lfierce 1 Reputation point
    2022-11-07T19:30:03.27+00:00

    Hi Nathan

    Thanks for your answer!

    In fact I missed the installation of the openXR plugin. I now downloaded it via github and it shows enabled in my unreal engine instance. However the methods still don't seem to be available.

    The guide I am following is: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-azure-spatial-anchors I didn't read anything regarding Linux and Azure Spatial Anchors being incompatible but I thought as there is a linux ros wrapper for Azure Spatial Anchors they probably are compatible.

    From the linked guide I also missed the Hololense2 project prerequisite but there I am unsure wether I actually need it as I am working on an ARCore project and as far as I understood it these two things are alternatives.

    Thanks in advance!


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.