[ue4/hololens] sharing anchors across another device is not working
Acutually, What I have to do is sharing anchors between hololens and ipad.
For the test, I'm trying that between hololens devices.
Creating anchors, saving them to azure service are doing well.
But locating pre existed anchors is not working..
I can't see the anchors on another hololens shared with app.
What's the problem in this?
Azure Spatial Anchors
HoloLens Development
-
Seth DU - MSFT 541 Reputation points
2022-10-05T12:46:33.84+00:00 Hello, welcome to Microsoft Q&A,
May I know what does "locating pre existed anchors is not working" mean? Do you have an issue when loading the pre-existed anchors from Azure? Are both HoloLens used in the same/similar environment?
Please understand that we need more detailed information to provide dedicated support. Thanks for your understanding.
-
혜진 서 91 Reputation points
2022-10-06T06:33:18.033+00:00 I can do creating and saving anchors to cloud by azure spatial anchors.
But when trying with another hololens device or ipad, I could load anchors from azure cloud.
I can find the anchors saved in azure portal.
But, stuck in problem how i can load that anchors from azure cloud.
I’m using hololens in the same enviromentI’m not using the microsoft mixed reality plugins because that makes packaging unknown error.
Perhaps. It may result no anchors loaded from azure problem? -
Seth DU - MSFT 541 Reputation points
2022-10-10T02:08:55.497+00:00 Thanks for the update and I will share the details with the team. In addition, one of your new threads will be redirected here since the issue is similar.
-
혜진 서 91 Reputation points
2022-10-10T10:12:31.75+00:00 I found that anchors that created by hololens2 is possible to be loaded on other hololens2.
also, loading anchors that created by iPad is possible on other iPad.but sharing anchors beween different kinds of devices is not possible.
I want to create anchors by hololens2 and load them on iPad.
Reversely, create anchors by iPad and load them on hololens2.How can i make it possible?
-
Nathan Manis - MSFT 476 Reputation points • Microsoft Employee
2022-10-11T00:35:45.9+00:00 Hi @혜진 서 ,
For this question, it should work if the same ASA account id and region is being used in both projects with being in same area being tested.
So, the first thing I would do is make sure the same ASA account id is being used in both projects and also ensure that the anchors are being stored in the same region too.
Example, verifying the id and regions shows this concept:
https://learn.microsoft.com/en-us/azure/spatial-anchors/how-tos/move-azure-spatial-anchors-account?tabs=azure-portal"Spatial Anchors accounts can't be moved between regions. You'll have to associate a new Spatial Anchors account in your source code to point to the target region. You'll also have to recreate all the anchors that you had previously created."
If this still does not help and you are using the same ASA account id, we will need to discuss in a case to help debug this down. Here is avenue to open that case with Microsoft support:
https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequestThanks,
Nathan -
혜진 서 91 Reputation points
2022-10-11T05:55:02.06+00:00 Thanks for your help.
Could I ask one more question for check?
Did you mean that It's possible for iPad to load anchors created by HoloLens2? Reversely also?
-
Nathan Manis - MSFT 476 Reputation points • Microsoft Employee
2022-10-11T14:59:54.343+00:00 Most welcome on the help. To answer, yes, it is possible to use across devices and part of the feature set for ASA business case. That is why I was asking to be sure to have the projects verified to be using same Azure account and region.
We have demos showing this for Unity here:
https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-anchors-in-unity?tabs=wltAnd here too (Unity again):
https://learn.microsoft.com/en-us/azure/spatial-anchors/tutorials/tutorial-share-anchors-across-devices?tabs=azure-portal%2CVS%2CUnityHoloLensFor support, can open a case via the Azure portal if still having issue with trying to get the anchors to be locatable from iPad that was created with HoloLens and vice-versa:
https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest/Thanks!
Nathan
Sign in to comment