【发布时间】:2021-06-24 18:11:05
【问题描述】:
我正在尝试构建一个使用 ARCore 的 Cloud Anchors for AR Foundation 的应用程序。当我将 ARCore Extensions 对象添加到场景并构建时,我收到以下错误。非常感谢帮助/见解。 (我正在为 Android 构建。)
ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Google.XR.ARCoreExtensions.Editor.Internal.AndroidDependenciesHelper.GetAllSessionConfigs () (at Packages/arcore-extensions-package/Editor/Scripts/Internal/AndroidDependenciesHelper.cs:65)
Google.XR.ARCoreExtensions.Editor.Internal.CompatibilityCheckPreprocessBuild.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Packages/arcore-extensions-package/Editor/Scripts/Internal/ModulesWorkflow/CompatibilityCheckPreprocessBuild.cs:66)
UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass15_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at <0b8db76a688c4d18a15dd7dfe092a035>:0)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at <0b8db76a688c4d18a15dd7dfe092a035>:0)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
【问题讨论】:
标签: unity3d augmented-reality arcore