Azure-docs: could not intialize cloudSpatialAnchorSession

Created on 15 Jan 2020  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Hello, When executing the line cloudSpatialAnchorSession = new CloudSpatialAnchorSession(); unity generates the following error :
EntryPointNotFoundException: ssc_cloud_spatial_anchor_session_create
Microsoft.Azure.SpatialAnchors.CloudSpatialAnchorSession..ctor () (at <b36503265f8640b0b25527e88c19df3b>:0)
AzureSpatialAnchorsScript.InitializeSession () (at Assets/Scripts/AzureSpatialAnchorsScript.cs:49) --> the line
AzureSpatialAnchorsScript.Start () (at Assets/Scripts/AzureSpatialAnchorsScript.cs:95) --> the call of the method containing the line


Document details

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

Pri2 assigned-to-author azure-spatial-anchorsvc doc-bug triaged

All 5 comments

@SurferLab Thanks for your comment. We will review and get back to you shortly with an update.

Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi again, i found a workarround in this link (https://github.com/Azure/azure-spatial-anchors-samples/issues/23#issuecomment-487812797).
The problem persist but it seems that unity doesn't allow running the project directly from the editor : you should deploy your project on hololens to be able to see what you're coding. Still hard work :(
Thank you guy, hope that you'll found a bug fix soon.
Regards,

Hi @SurferLab, yes, you're right there. You can't use ASA in the Editor, you have to deploy to a device to use it.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Favna picture Favna  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments