简体   繁体   English

Azure空间锚点(unity3d) - 我将空间锚点保存到云端,但在2或3小时后无法找到它

[英]Azure spatial anchor(unity3d) - I am saving spatial anchor to cloud, but unable to locate it after 2 or 3 hours

Unity3d - Azure spatial anchor - I m using unity's azure spatial anchor sample project for sharing anchors. Unity3d - Azure空间锚点 - 我使用unity的azure空间锚点示例项目来共享锚点。 I have placed anchor on some location and saved to cloud. 我已将锚点放在某个位置并保存到云端。 but after some hours I m unable to locate the anchor. 但几个小时后我无法找到锚。

Hi this code sample is deleting the database. 嗨此代码示例正在删除数据库。 Please see Pull Request with the fix https://github.com/Azure/azure-spatial-anchors-samples/pull/9/files 请通过修复https://github.com/Azure/azure-spatial-anchors-samples/pull/9/files查看Pull Request

    if (!this.initializing.Wait(0))                 
    {                   
       this.initializing.Set();                     
       await this.dbCache.DeleteIfExistsAsync();\\ here the database gets deleted
       await this.dbCache.CreateAsync(); 

       this.initialized.Set();
    }

Edit: I saw that the pull request has been merged so the code sample in question should work. 编辑:我看到拉取请求已合并,因此相关的代码示例应该可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM