4 weeks ago
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
3 weeks ago - last edited 3 weeks ago
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.
2 weeks ago
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.