MicrosoftDocs / azure-docs

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

Spatial Anchors in Unity - DLL not found Exception on HoloLens 2 #108237

Open ArDevKarl opened 1 year ago

ArDevKarl commented 1 year ago

I installed Azure Spatial Anchors using the MRTK Feature Tool following the instructions of this page: https://learn.microsoft.com/en-us/azure/spatial-anchors/how-tos/create-locate-anchors-unity

Versions:

I'm using Windows Mixed Reality as XR-Plugin.

I'm crating a new CloudSpatialAnchorSession with my credentials (ID, Key and domain). To create a now anchor, I'm using the code provided in the docs.

Now all I get is a DllNotFoundException: "DllNotFoundException: AzureSpatialAnchors Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession..ctor () (at Library/PackageCache/com.microsoft.azure.spatial-anchors-sdk.windows@4bce2833f5cd/Runtime/AzureSpatialAnchorsBridge_Windows.cs:2546)"

(added UnityPlayer.log for reference) UnityPlayer(3).log

Is it possible this Unity Version (2020.3.42f1) is not supported, or Windows XR support does not work with Spatial Anchors?


Document Details

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

AjayBathini-MSFT commented 1 year ago

@ArDevKarl Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly.

ArDevKarl commented 1 year ago

Updated to v2.14.1 still DllNotFoundException. Can I expect any answers here?