【问题标题】:Why does ARCore compiler errors with Unity3d?为什么 Unity3d 会出现 ARCore 编译器错误?
【发布时间】:2017-11-15 10:11:42
【问题描述】:

我已经下载了最新版本的 Unity 版本 5.6.1p1。从以下网站下载 ARcore for unity。 https://developers.google.com/ar/develop/downloads

在尝试构建示例时,它给出了以下编译器错误:

Failed to extract `GoogleAR.UnityNative`. Config class of base type `UnityEngine.XR.Tango`. `TangoConfig` when inspecting `Assets/GoogleARCore/SDK/Plugins/GoogleAR.UnityNative.dll`
`UnityEditor.AssemblyHelper:ExtractAllClassesThatInheritMonoBehaviourAndScriptableObject(String, String[]&, String[]&)`
`Assets/GoogleARCore/SDK/Scripts/SessionComponent.cs(324,28): error CS7069:` Reference to type `UnityEngine.XR.Tango.TangoConfig` claims it is defined assembly `UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'` but it could not be found.

如果我能得到一些解决这个问题的建议,那就太好了。

【问题讨论】:

    标签: android unity3d unity3d-2dtools arcore


    【解决方案1】:

    您必须下载最新的 Unity 测试版并在 XRSettings 中选中 ARCore 复选框。

    【讨论】:

      猜你喜欢
      • 2014-06-08
      • 2023-03-30
      • 2014-10-11
      • 1970-01-01
      • 2018-11-29
      • 2011-07-10
      • 1970-01-01
      • 2011-12-27
      • 1970-01-01
      相关资源
      最近更新 更多