Hi I am getting an error when I try to run this default analyze rule.
Stack Trace
ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) (at <567df3e0919241ba98db88bec4c6696f>:0)
UnityEditor.AddressableAssets.Build.BuildPipelineTasks.GenerateLocationListsTask.Run (UnityEditor.AddressableAssets.Build.DataBuilders.IAddressableAssetsBuildContext aaBuildContext, UnityEditor.Build.Pipeline.Interfaces.IBundleWriteData writeData) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/Build/BuildPipelineTasks/GenerateLocationListsTask.cs:91)
UnityEditor.AddressableAssets.Build.AnalyzeRules.BundleRuleBase.RefreshBuild (UnityEditor.AddressableAssets.Build.DataBuilders.AddressableAssetsBuildContext buildContext) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/Build/AnalyzeRules/BundleRuleBase.cs:102)
UnityEditor.AddressableAssets.Build.AnalyzeRules.CheckBundleDupeDependencies.CheckForDuplicateDependencies (UnityEditor.AddressableAssets.Settings.AddressableAssetSettings settings) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/Build/AnalyzeRules/CheckBundleDupeDependencies.cs:58)
UnityEditor.AddressableAssets.Build.AnalyzeRules.CheckBundleDupeDependencies.RefreshAnalysis (UnityEditor.AddressableAssets.Settings.AddressableAssetSettings settings) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/Build/AnalyzeRules/CheckBundleDupeDependencies.cs:40)
UnityEditor.AddressableAssets.GUI.AssetSettingsAnalyzeTreeView.<RunAllSelectedRules>b__6_0 (UnityEditor.AddressableAssets.GUI.AnalyzeRuleContainerTreeViewItem ruleContainer) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/GUI/AssetSettingsAnalyzeTreeView.cs:77)
UnityEditor.AddressableAssets.GUI.AssetSettingsAnalyzeTreeView.PerformActionForEntireRuleSelection (System.Action`1[T] action) (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/GUI/AssetSettingsAnalyzeTreeView.cs:65)
UnityEditor.AddressableAssets.GUI.AssetSettingsAnalyzeTreeView.RunAllSelectedRules () (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/GUI/AssetSettingsAnalyzeTreeView.cs:72)
UnityEditor.AddressableAssets.GUI.AnalyzeRuleGUI.<OnGUI>b__17_0 () (at Library/PackageCache/com.unity.addressables@1.3.8/Editor/GUI/AnalyzeRuleGUI.cs:99)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:312)
This was working totally fine for a while, then I added a couple things to a group and then it started giving me this error and stopped working. Removing those items from the group did not resolve it.
It also reset all my individual group schemas!
It seems to be trying to find a group that it thinks doesn’t exist? Not sure where to go from here. Any ideas?
Unity 2019.2.11f1
Addressables v1.3.8