Unable to Load Build Created Spatial Anchors in the Editor
Hi everyone,
I’m building a Unity XR app for Quest 3 that populates GameObjects via a PC API: in the Editor I populate my environment with game objects, serialize them to JSON, then load that JSON in my Quest build. To align virtual content with the physical environment, I place a single “origin” anchor in Quest, save all object positions relative to it, and it works flawlessly on device.
My problem: anchors I create at runtime on the Quest won’t load back in the Editor (even over Link) or the other way around. They use their own storage and I have to create at an identical physical position, the same anchor to both the build and Editor, which is not an ideal solution. I’ve tried Oculus’s Shared Spatial Anchors sample (Colocation scene) but can’t pull down the saved anchor group into my Editor session.
What I did:
- Created an app and set the api correctly
- Set the Photon App and api connection
- Created a test user and linked it to the App
- Uploaded a build in the Alpha branch, which I can access when logged in with the test user in the Library as a known source, from the Quest
- Being able to create/load/save anchors within a Group UUID
Yet the Editor never sees those GUIDs. Has anyone managed to sync anchors from a Quest build back into the Unity Editor? Any tips or sample project links would be greatly appreciated!
P.S. It would be great if it works with Shared Spatial Anchors as even though the current version of the app is targeting single-player, it is planned to extend it for co-location multiplayer.
Thanks!
