Search Unity

World Anchors Do not persist correctly between sessions.

Discussion in 'VR' started by SKArctop, Aug 14, 2018.

  1. SKArctop

    SKArctop

    Joined:
    Feb 12, 2018
    Posts:
    38
    Using Unity 2017.4, I cannot get persistent anchors to work.

    Following all tutorials and documentations, I am able to save and load world anchors to / from the store.

    However, the technology just doesn't work. As opposed to how this works with say the Hologram app, where those correctly maintain their positions between sessions, days, and even weeks, using the Unity API has yet to produce an object that maintained it's correct world position between two runs.

    The issue is fairly simple, and is identical if I use the MRTK's WorldAnchorManager, or just roll out my own solution. It just looks as if the positions I am getting are relative to the position of the device, and there is no compensation that happens to properly place the objects in world space, and hence the objects do not maintain their actual physical world positioning.

    Has anyone gotten this to work correctly at all? is this a bug? Is there anything that I'm missing that isn't documented anywhere?