Forum Discussion
Emissive_VR
2 years agoHonored Guest
Shared Spatial Anchors - AnchorPersistenceRuntimeIpcServer: Request denied based on storage location
Hello,
We are trying to implement the sample scene from this repository:
https://github.com/oculus-samples/Unity-SharedSpatialAnchors
This way we hope to test the Colocation to ultimately use it in our experiences.
However, when creating an anchor and then sharing it, we come across an error on the app logs:
"Saving anchor(s) failed. Possible reasons include an unsupported device."
When I check the adb logs, I get the following errors:
SP:AP:AnchorPersistenceConfig: getCloudPermissionEnabled: oculus_spatial_anchor_cloud=false
SP:AP:AnchorPersistenceRuntimeIpcServer: Request denied based on storage location for package com.Oculus.UnitySharedSpatialAnchors, sessionUuid:e0d791ec-49a1-4948-abd4-e4754812554b
SP:AP:AnchorPersistenceRuntimeIpcServer: Aborting saveAnchorV3 for package name: com.Oculus.UnitySharedSpatialAnchors
SP:AP:AnchorPersistenceRuntimeIpcClient: Failed RPC for saveAnchor, rpcAllowed: false, CallServerRPCResult: 9
SP:AF:AnchorFrameworkSlamAnchor: saveAnchor failed!
I have tested it on two Oculus Pro and an Oculus Quest 2 without success...
Do you have any idea how to resolve this issue (I can't seem to find anything on internet) ? Could it come from a missing Android permission ?
7 Replies
- TriplePeteMember
Have you tried to activate the permission to share anchors in the permission settings for the user in the HMD?
- MuchutsHonored Guest
Is there such a setting? I don't see anything like that.
- TriplePeteMember
Yes, in Settings under Privacy and Device Permission you will find Share point cloud data. Make sure it is enabled.
Also, in your Unity project, make sure you have set the app ID to one created on the Meta developer's website under your organization. The anchors you save to the cloud and share are specific to THAT application and THAT physical space only.
- kuriyama.kyastalProtege
I also faced the same problem and it was simply because I didn't enter the appid.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 10 months ago