Skip to main content
Inspiring
May 21, 2025

OVRSpatialAnchor LoadUnboundSharedAnchorsAsync Failure_InvalidParameter

  • May 21, 2025
  • 2 replies
  • 559 views

I am developing a VR app in Unity 6.x using meta spatial anchor api.

In the app flow I managed to create, save and share the spatial anchor using a Guid group value through the method OVRSpatialAnchor.ShareAsync, but as I call the method OVRSpatialAnchor.LoadUnboundSharedAnchorsAsync it returns me this error Failure_InvalidParameter.

I checked the parameters passed to the method, they are valid, the group id is correct and well-formatted.

The call was working fine until a few days ago, when it suddenly started returning this issue.

Can anyone help me?
Thanks in advance

 

    This topic has been closed for replies.

    2 replies

    New Participant
    May 28, 2025

    I was also stuck with this error for a week, but I solved it. The solution is to reset and reconfigure all uploaded spatial data and room information for the device from everything you are using. After that, all share anchor operations were successful. You can see the reset function in "Room" and "Privacy and safety" in Settings.

     

    The cause is not that LoadUnboundSharedAnchorsAsync is failing, but that the ShareAsync API is returning Success despite missing the necessary information. When I look at the Logcat for the headset running ShareAsync, the method returns Success despite errors being logged before and after the upload. This led me astray.

    I'm using Unity 6000.0.49f and SDK v76.

    Oloap92Author
    Inspiring
    May 30, 2025

    Hi, my issue was that I was trying to run the experience remotely, but I found out that the spatial api works only if the users are co-located.