Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Create a project using 2D Mobile or 3D Mobile templates
2. Build And Run the Project
3. Wait until "No Adaptive Performance provider found" window pops up and press "Go to Settings" button
4. Observe the Console
Actual results: "ArgumentNullException: Value cannot be null." error is thrown
Expected results: No warnings or errors are thrown
Reproducible with versions: 4.0.1 (2022.1.0a14, 2022.3.53f1), 5.0.0 (2022.3.53f1)
Not reproducible with versions: 5.0.1 (2022.3.53f1) 5.1.0 (6000.0.28f1), 4.0.1 (2021.3.45f1, 2022.1.0a13)
Can't test with versions: 6000.1.0a5 (Build errors)
Tested on (OS): macOS Sonoma 14.7 (M1), Ubuntu 20.04
Notes:
ArgumentNullException: Value cannot be null. Parameter name: key System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <b41efef47d3b4ee7904c28860bf6ccb8>:0) System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <b41efef47d3b4ee7904c28860bf6ccb8>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (TSource[] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <e579893911db4d359521f37348f1e762>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <e579893911db4d359521f37348f1e762>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at <e579893911db4d359521f37348f1e762>:0) UnityEditor.PackageManager.UI.Internal.PageSelection.SetNewSelection (System.Collections.Generic.IEnumerable`1[T] packageAndVersionIds) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/Common/PageSelection.cs:33) UnityEditor.PackageManager.UI.Internal.BasePage.SetNewSelection (System.Collections.Generic.IEnumerable`1[T] packageAndVersionIds) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/Common/BasePage.cs:185) UnityEditor.PackageManager.UI.Internal.PageManager.SetSelected (System.Collections.Generic.IEnumerable`1[T] newSelection, System.Boolean forceSelectInInspector) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/Common/PageManager.cs:348) UnityEditor.PackageManager.UI.Internal.PageManager.SetSelected (UnityEditor.PackageManager.UI.Internal.IPackage package, UnityEditor.PackageManager.UI.Internal.IPackageVersion version, System.Boolean forceSelectInInspector) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/Common/PageManager.cs:342) UnityEditor.PackageManager.UI.Internal.PackageManagerWindowRoot.SelectPackageAndFilter () (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindowRoot.cs:311) UnityEditor.PackageManager.UI.Internal.PackageManagerWindowRoot.SelectPackageAndFilter (System.String packageToSelect, System.Nullable`1[T] filterTab, System.Boolean refresh, System.String searchText) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindowRoot.cs:393) UnityEditor.PackageManager.UI.PackageManagerWindow.SelectPackageAndFilterStatic (System.String packageToSelect, System.Nullable`1[T] filterTab, System.Boolean refresh, System.String searchText) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindow.cs:305) UnityEditor.PackageManager.UI.PackageManagerWindow.OpenPackageManager (System.String packageToSelect) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindow.cs:227) UnityEditor.PackageManager.UI.Window.Open (System.String packageToSelect) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindow.cs:37) UnityEditor.AdaptivePerformance.Editor.AdaptivePerformanceGeneralBuildProcessor.CheckInstalledPackages () (at Library/PackageCache/com.unity.adaptiveperformance@4.0.1/Editor/Management/AdaptivePerformanceGeneralBuildProcessor.cs:94) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:357)
Sign in to see your voted issues