cancel
Showing results for 
Search instead for 
Did you mean: 

LocateSpace for Spatial Anchors (OVRPlugin)

Gaspar_Mr6
Honored Guest
In the OVRPlugin.cs script in Meta SDK for Unity there is a function "TryLocateSpace" I have been used for relocating the Spatial Anchors. This is the declaration:
        public static bool TryLocateSpace(UInt64 space, TrackingOrigin baseOrigin, out Posef pose,
              out SpaceLocationFlags locationFlags)
 
After updating the Meta SDK to the last version V.74 I receive this a warning when accesing to the spatial anchor space (the first parameter of the function) --> ovrSpatialAnchor.Space.Handle
 
The warning: 'OVRSpatialAnchor.Space' is obsolet: 'This property exposes an internal handle that should no longer be necessary. You can Save, Erase and Share anchors using methods in this class'. 
 
 Why this property is now obsolete?  Is there another new way of relocating the anchors then?
0 REPLIES 0