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)"
Is it possible this Unity Version (2020.3.42f1) is not supported, or Windows XR support does not work with Spatial Anchors?
DllNotFoundException: Unable to load DLL 'AzureSpatialAnchors': The specified module could not be found.
at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession..ctor () [0x00000] in <00000000000000000000000000000000>:0
at ARInsight.Tracking.SpatialAnchors.AnchorClient.Start () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.DebugLogHandler:LogException(Exception, Object)
InsightLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
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/setup-unity-project?tabs=xr-plugin-framework%2Cunity-2020%2Cunity-package-mixed-reality-feature-tool%2CExtraConfigurationsHoloLens#download-asa-packages
Versions:
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 (https://learn.microsoft.com/en-us/azure/spatial-anchors/how-tos/create-locate-anchors-unity)
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)"
Is it possible this Unity Version (2020.3.42f1) is not supported, or Windows XR support does not work with Spatial Anchors?
UnityPlayer.log
DllNotFoundException: Unable to load DLL 'AzureSpatialAnchors': The specified module could not be found. at Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession..ctor () [0x00000] in <00000000000000000000000000000000>:0 at ARInsight.Tracking.SpatialAnchors.AnchorClient.Start () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.DebugLogHandler:LogException(Exception, Object) InsightLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)