microsoft / MixedReality-HolographicRemoting-Samples

Code samples for using Microsoft's Holographic Remoting library.
Other
141 stars 47 forks source link

Support for Azure Spatial Anchors in windows based remote #69

Closed almoga296 closed 1 year ago

almoga296 commented 2 years ago

Describe the bug I've opened Azure account and enabling the spatial anchors service to build spatially aware mixed reality application. Clone Azure Spatial Anchors github sample. Can't run azure spatial anchors with holographic remoting (store edition), probably because lack of dll.

Error: DllNotFoundException: AzureSpatialAnchors assembly: type: member:(null) Microsoft.Azure.SpatialAnchors.AnchorLocateCriteria..ctor () (at Library/PackageCache/com.microsoft.azure.spatial-anchors-sdk.core@bd79930953e8/Runtime/Plugins/Standalone/AzureSpatialAnchorsBridge_Standalone.cs:1928) Microsoft.Azure.SpatialAnchors.Unity.Examples.DemoScriptBase.Start () (at Assets/AzureSpatialAnchors.Examples/Scripts/DemoScriptBase.cs:112) Microsoft.Azure.SpatialAnchors.Unity.Examples.AzureSpatialAnchorsSharedAnchorDemoScript.Start () (at Assets/AzureSpatialAnchors.Examples/Scripts/AzureSpatialAnchorsSharedAnchorDemoScript.cs:139)

It looks like Azure spatial anchors doesn't have the compatible .dll file for targeting WindowsStandalone build.

Remote side - Laptop:

Player side - HoloLens 2

Do you familiar with a way to achieve azure spatial anchor to work with holographic remote at all? Do you familiar with other co-location sharing solution that can work with holographic remote & hololens2?

Almog

Hanaae-MSFT commented 2 years ago

Hey @almoga296
Looking at the stack trace you included, it doesn't seem to be a remoting-related issue but rather with the ASA SDK installation probably, since Unity can't find the dll. Does this happen only with holographic remoting on your side? Did you try to test without remoting? We suggest that you follow up on it with the Azure Spatial Anchors team.

cheles commented 1 year ago

@almoga296 I've answered to your question raised here https://github.com/Azure/azure-spatial-anchors-samples/issues/371