Understanding XR Object Anchors and Persistent Worlds
How object anchors work in XR: local versus cloud anchors, persistence, and why content stays where you put it.
An anchor is the technical answer to a simple user expectation: the thing I placed should still be there tomorrow. Without anchors, spatial computing is a demo that resets every session. With them, it becomes a workspace.
What an anchor contains
A transform — position and orientation — plus a reference to the spatial map that gives it meaning. Local anchors live on the device; cloud anchors are uploaded so other devices can resolve the same point in the same room.
- Local for single-user placement, simplest to implement.
- Cloud for shared or cross-session experiences.
- Room map is the dependency — without it, the anchor has no reference.
Why persistence fails
Most failures come from the map, not the anchor: the room was rescanned, furniture moved, or the device cleared its spatial data. Design for re-resolution — let the user re-place content when the anchor cannot be found, rather than showing it floating in the wrong place.
Design implications
Prefer anchors on stable features (a table, a wall corner) over moveable objects. Give users a way to reset placement. And treat persistence as best-effort: a graceful fallback is better than confident wrongness.
Object anchors FAQ
Do all headsets support anchors?
Most modern ones do, with vendor-specific APIs. Capability varies.
Can anchors be shared between users?
Yes, via cloud anchors, with alignment quality depending on the shared map.
How long do they last?
Indefinitely if the map persists; the room changing is the usual expiry.
What if the user moves house?
The map no longer matches. Re-scan and re-place.
Anchor to stable geometry, store the map, and always provide a reset. That is persistence done pragmatically.