oculus-samples / Unity-SharedSpatialAnchors

Unity-SharedSpatialAnchors was built to demonstrate how to use the Shared Spatial Anchors API, available in the Meta XR Core SDK for the Unity game engine.
MIT License
119 stars 45 forks source link

GraphQL Error retrieving anchors #6

Closed jcharbo closed 1 year ago

jcharbo commented 1 year ago

Hi, I'm trying to use this sample in the latest LTS version of unity with a quest pro headset on a pc. When trying to load shared cloud anchors I get the following error. Please advise.

xr_cloud_anchor_service: downloadSpatialAnchor:1134 PROFILE: Download Map start 20103931790711 02-01 23:42:48.863 2128 23782 I [CT] : xr_cloud_anchor_service: Downloading Spatial Anchor: 02-01 23:42:48.863 2128 23782 I [CT] : xr_cloud_anchor_service: Temp dir: /data/user/0/com.facebook.spatial_persistence_service/cache 02-01 23:42:48.863 2128 23782 I [CT] : xr_cloud_anchor_service: Generated UUID: 505dd024-fb27-4453-a853-bdcaea16e369 02-01 23:42:48.863 2128 23782 I [CT] : xr_cloud_anchor_service: XRDownloadAnchorsAndMapInput queryInput: { 02-01 23:42:48.863 2128 23782 I [CT] : "mapInput" : 02-01 23:42:48.863 2128 23782 I [CT] : { 02-01 23:42:48.863 2128 23782 I [CT] : "client_session_id" : "b3fa21f9-91ce-39b5-aeb0-521e7f5555ae", 02-01 23:42:48.863 2128 23782 I [CT] : "is_public" : false, 02-01 23:42:48.863 2128 23782 I [CT] : "parameters" : "{\"session_tag\":\"\",\"capture_requests\":false}", 02-01 23:42:48.863 2128 23782 I [CT] : "spatial_anchor_uuids" : 02-01 23:42:48.863 2128 23782 I [CT] : [ 02-01 23:42:48.863 2128 23782 I [CT] : "72564bb2-6d99-fcd3-90b7-9fb01a1a6882" 02-01 23:42:48.863 2128 23782 I [CT] : ] 02-01 23:42:48.863 2128 23782 I [CT] : }, 02-01 23:42:48.863 2128 23782 I [CT] : "saInput" : 02-01 23:42:48.863 2128 23782 I [CT] : { 02-01 23:42:48.863 2128 23782 I [CT] : "client_session_id" : "b3fa21f9-91ce-39b5-aeb0-521e7f5555ae", 02-01 23:42:48.863 2128 23782 I [CT] : "parameters" : "{\"session_tag\":\"\",\"capture_requests\":false}", 02-01 23:42:48.863 2128 23782 I [CT] : "uuids" : 02-01 23:42:48.863 2128 23782 I [CT] : [ 02-01 23:42:48.863 2128 23782 I [CT] : "72564bb2-6d99-fcd3-90b7-9fb01a1a6882" 02-01 23:42:48.863 2128 23782 I [CT] : ] 02-01 23:42:48.863 2128 23782 I [CT] : } 02-01 23:42:48.863 2128 23782 I [CT] : } 02-01 23:42:48.865 23495 23520 I TREX : Spatial Persistence event: QuerySpacesFinish 02-01 23:42:49.002 23495 23618 I VrApi : FPS=72/72,Prd=30ms,Tear=0,Early=0,Stale=0,Stale2/5/10/max=0/0/0/0,VSnc=0,Lat=-1,Fov=0,CPU4/GPU=3/3,1382/490MHz,OC=FF,TA=0/0/0,SP=N/N/N,Mem=2092MHz,Free=8290MB,PLS=0,Temp=19.2C/0.0C,TW=1.22ms,App=3.60ms,GD=0.46ms,CPU&GPU=8.23ms,LCnt=2(DR72,LM2),GPU%=0.41,CPU%=0.16(W0.29),DSF=1.00,CFL=18.00/21.54 02-01 23:42:49.032 2128 23791 E [CT] : xr_cloud_anchor_service: Failed to download spatial anchor with error: networking::GraphQLError: A server error field_exception occured. Check server logs for details. fb_traceid: ExJ6baV4Wl0

SteveOnorato commented 1 year ago

Hi @jcharbo, this was a good log; the anchor uuid, client_session_id, and traceid are all good for getting help, but they've expired from the server logs now. Sorry that this wasn't addressed sooner. Also, there have been some improvements to the error logging in later releases of the OS that can help troubleshoot. Please try again and send a new log if you're still stuck.