Forum Discussion

zhengyang's avatar
zhengyang
Explorer
25 days ago

SharedAnchorsFailed

https://github.com/oculus-samples/Unreal-SharedAnchorsSample
I packaged this project and set the Appid, then two Quest devices joined the session, created anchors, saved the anchors, and encountered an error when sharing anchors. The error code is 2. My location is China, and I used a VPN. I don't understand what caused the failure to share anchors.

1 Reply

  • Degly's avatar
    Degly
    Start Partner

    As far as I know error code 2 on Shared Anchors = service/network failure, not your project setup.

    Given you’re in China + VPN, the most likely cause is:

    • Meta backend (anchors service) is blocked / unstable over VPN
    • Shared anchors require cloud services + low-latency stable connection


      Maybe get in contact with Meta Support? Or ask someone else to test it to avoid the VPN issue?

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions