Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Emissive_VR's avatar
Emissive_VR
Honored Guest
2 years ago

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

  • Have you tried to activate the permission to share anchors in the permission settings for the user in the HMD? 

    • Muchuts's avatar
      Muchuts
      Honored Guest

      Is there such a setting?  I don't see anything like that.

      • TriplePete's avatar
        TriplePete
        Member

        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.