Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatial Anchor Storage Access not working #3

Open
celphicious opened this issue Feb 28, 2023 · 0 comments
Open

Spatial Anchor Storage Access not working #3

celphicious opened this issue Feb 28, 2023 · 0 comments

Comments

@celphicious
Copy link

Hi guys,
thanks for sharing this interesting project. I managed to compile HoloNav with Unity 2019.4.12f1 and Visual Studio 2019 16.11 for HoloLens2.
I also created Azure Table Storage and Spatial Anchors Accounts and inserted ConnectionString, Table-Names, Domain, Account-ID and Key into the corresponding exposed Parameters in TableStorage Scene in Unity.
I am getting Error in the debug Console during Runtime:

"Debug messages will appear here

System.Collections.Generic.List’1[SpatialAnchor]
System.Collections.Generic.List’1[Edge]
No existing spatial anchor found
Initialize scene.
Initialize Adjacency Map"

It also pop ups a dialoge with yes/no, which tells me, there are no Anchors in the cloud, asking if I want to create one.
After clicking yes and on "create Anchor" in the new Dialogue, it gives me in the debug Console:

"Initialized a new anchorPosition ‘AnchorPosition(Clone) (AnchorPosition)’
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection."

Do I have to setup Anchor Data in Azure before running the HoloNav App?
Is there some sample data for this?
I wonder where ArgumentOutOfRangeException does come from,
can I somehow check if the connection to Azure Spatial Anchor and Table Storage is working correctly? (before I put in the ConnectionString in Unity Project, it told me Connection String was empty)

Please help me get this up and working :)
greetings from Berlin to Zurich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant