【问题标题】:Azure spatial anchor(unity3d) - I am saving spatial anchor to cloud, but unable to locate it after 2 or 3 hoursAzure 空间锚(unity3d) - 我将空间锚保存到云中,但在 2 或 3 小时后无法找到它
【发布时间】:2019-03-25 10:32:05
【问题描述】:

Unity3d - Azure 空间锚点 - 我正在使用统一的天蓝色空间锚点示例项目来共享锚点。我已将锚点放置在某个位置并保存到云端。但几个小时后,我无法找到锚点。

【问题讨论】:

    标签: azure unity3d azure-spatial-anchors


    【解决方案1】:

    您好,此代码示例正在删除数据库。请参阅带有修复程序 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();
        }
    

    编辑:我看到拉取请求已被合并,因此有问题的代码示例应该可以工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多