Forum Discussion

zhengyang's avatar
zhengyang
Explorer
25 days ago

关于UE空间锚点示例保存空间锚点报错

oculus-samples/Unreal-SharedAnchorsSample at 5.4.4-v71
我使用这个示例,然后打包安装到quest3中,创建锚点之后选择保存锚点会报错.log:Error saving Spatial Anchor 213.
这是为什么.我使用的是本地的WIFI局域网创建会话.

2 Replies

  • Degly's avatar
    Degly
    Start Partner

    Hi! Please try to keep your messages in English to keep the community working together, for now I translated with AI (as you should too!):

    这个问题大概率不是代码,而是权限/服务配置问题。

    Error saving Spatial Anchor 213 通常意味着保存到云端失败,常见原因:

    • 没有在 Developer Dashboard 开启 Spatial Anchors / Shared Anchors
    • 没完成 Data Use Checkup(数据使用审核)
    • AppID 没正确绑定或不是同一个应用
    • 设备登录账号没有权限(测试账号问题)
    • 网络问题(即使是局域网,会话没问题,但“保存”是走 Meta 云服务)

    建议检查:

    • Dashboard → Features → Spatial Anchors 已开启
    • 完成 Data Use Checkup
    • 两台设备用 同一个组织下的账号
    • 用稳定网络(不要只依赖局域网)

    如果本地创建 OK,但一保存就报错 → 基本就是云服务权限或网络问题

  • I am saving anchors locally, so it should not require uploading anything to the cloud service, right?

    However, whenever I try to save anchors to local storage now, it fails with the following errors: Failure_OperationFailed and Failure_SpacePermissionInsufficient.

    Interestingly, saving anchors locally only works when the package name of both projects is set to com.YNZL.AI. This was the package name of my very first project (which also saved anchors locally), and I had chosen it randomly.

    But as soon as I change the package name of either project to anything else, saving anchors fails again with the same errors.

    I am 100% sure that I have never uploaded any APK to any store and have not configured any App ID.

    Why is this happening?

→ 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