I'm trying to get your demo to work with multiple holo lenses.
The hololens acting as server works fine.
But when I try to join that, I get an nullreference exeption at the HERE location,
since AnchorStore is null..
This results in no shared anchor...
Hope someone can help..
UNetAnchorManager.cs :
private bool AttachToCachedAnchor(string CachedAnchorName)
{
if (string.IsNullOrEmpty(CachedAnchorName))
{
Debug.Log("Ignoring empty name");
return false;
}
#if UNITY_WSA
UnityEngine.XR.WSA.Persistence.WorldAnchorStore anchorStore = WorldAnchorManager.Instance.AnchorStore;
string[] ids = anchorStore.GetAllIds(); <== HERE
for (int index = 0; index < ids.Length; index++)
{
if (ids[index] == CachedAnchorName)
{
Debug.Log("Using what we have");
anchorStore.Load(ids[index], objectToAnchor);
Hi,
I'm trying to get your demo to work with multiple holo lenses.
The hololens acting as server works fine. But when I try to join that, I get an nullreference exeption at the HERE location, since AnchorStore is null.. This results in no shared anchor...
Hope someone can help..
UNetAnchorManager.cs :
Regards Søren Müller CadPeople A/S