Unity-SpaceSharing sample fails with shareLocalScene failed: FailureOperationFailed (-1006)
Hi, I am trying to use the Unity-SpaceSharing sample: https://github.com/oculus-samples/Unity-SpaceSharing
I consistently get: shareLocalScene failed: FailureOperationFailed (-1006)
I have already checked the usual setup items. The app is in the Alpha release channel, the App ID is correct, MQDH/device setup looks correct, and spatial data sharing is enabled.
What I’m seeing in the logs is:
Repeated local anchor read failures with error -60001
Then shareSpatialEntity failed with GraphQLError code=2128008
A server message saying some anchors could not be found in the cloud by ID
Also, Mesh upload through cloudAnchorService is not supported
Two example anchor IDs mentioned in the failure are:
ce6a45dd-d2bd-2115-e2d7-8ec57d8fcd58
9c4d1d9c-7949-392b-c39c-3ca9c3ee1547
I am calling the sample’s local scene-sharing flow from the MRUK room-sharing path, but I also tested a version where I manually built the anchor list from room anchors and child scene anchors.
My questions are:
Is FailureOperationFailed (-1006) usually caused by anchors not being uploaded or not being available in the cloud yet?
Is there a known issue in the sample where sharing a manually collected anchor list can include unsupported scene or mesh anchors?
Should the recommended approach be to use only room.ShareRoomAsync(groupId) or mruk.ShareRoomsAsync(mruk.Rooms, groupId) and avoid manual anchor collection?
Does error -60001 indicate that the scene anchors need to be recreated or re-persisted before sharing?
If helpful, I can also share the exact method I am using and a larger log snippet.
Thanks.