cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to persist Spatial Anchors on Quest

darkveins_
Level 3

OVRSpatialAnchor.Save() always returns "false" for me. I'm able to create the anchor, just not save it.


This is my stack:
-Unity 2022.1.16
-Oculus Integrations package v43
-Oculus Quest 2

This error seems relevant. It says my package is not trusted:

09-13 21:29:26.202 6430 6665 I RuntimeIPCClientMgr: ConnectToServer: SUCCESS: Client: com.Nifty.AnchorExperiment:com.Nifty.AnchorExperiment:6430, Server: com.facebook.spatial_persistence_service:com.facebook.spatial_persistence_service (anchor_persistence_server)
09-13 21:29:26.202 6430 6665 I RuntimeIPCClientMgr: GetClientOptions
09-13 21:29:26.205 2167 6752 W System.err: java.lang.ClassNotFoundException: com.oculus.packageintegrityclient.PackageIntegrityClient
09-13 21:29:26.206 2167 6752 I chatty : uid=10092(com.facebook.spatial_persistence_service) Thread-3 identical 1 line
09-13 21:29:26.206 2167 6752 W System.err: java.lang.ClassNotFoundException: com.oculus.packageintegrityclient.PackageIntegrityClient
09-13 21:29:26.207 2167 6752 I [CT] : AnchorPersistenceIpcRuntimeServer: checkRPC start: clientId:2584917192 givenPackageName:com.Nifty.AnchorExperiment
09-13 21:29:26.207 2167 6752 I [CT] : AnchorPersistenceIpcRuntimeServer: checkRPC package name matches: clientId:2584917192 givenPackageName:com.Nifty.AnchorExperiment detectedPackageName:com.Nifty.AnchorExperiment clientIdTrustedStatus_.count:1
09-13 21:29:26.207 2167 6752 E [CT] : AnchorPersistenceIpcRuntimeServer: Package com.Nifty.AnchorExperiment is not trusted, status: 1
09-13 21:29:26.207 2167 6752 E [CT] : AnchorPersistenceIpcRuntimeServer: Aborting saveAnchor for package name: com.Nifty.AnchorExperiment
09-13 21:29:26.207 6430 6665 E [CT] : Anchor:AnchorPersistenceIpcRuntimeClient: Failed RPC for saveAnchor, rpcAllowed: false, CallServerRPCResult: 9
09-13 21:29:26.208 6430 6664 E [CT] : Anchor:InsightAnchorApi: insight_SaveAnchorSpace (task abandoned) anchor 0, location: 1, request 3

Btw I've done the following:
-Enabled dev mode and experimental mode on Quest
-Enabled Spatial Anchors, Passthrough, and Experimental in OVRManager (last 2 prob not necessary)
-Signed my app with a custom Keystore

0 REPLIES 0