Search Issue Tracker

Fixed in 2020.1

Votes

0

Found in

2020.1.0a6

Issue ID

1186816

Regression

Yes

[Package Manager] Package Manager window reopens blank after changing view to My Assets.

Package

-

Package Manager window appears blank with ArgumentOutOfRangeException error in the console.

Steps to repro:
1. Create a new project.
2. Windows > Package Manager.
3. Select My Assets from the drop-down list.
4. Close the Package Manager Window and reopen again.

Actual Result:
Package Manager window appears blank with ArgumentOutOfRangeException error in the console.

Expected Result:
Package Manager window loads all the Packages.

Reproducible in:
2020.1.0a6.

Working Fine in:
2020.1.0a5, 2019.3.0b5.

Environment:
Only on Windows.

Stack trace:
ArgumentOutOfRangeException: Count cannot be less than zero.
Parameter name: count
System.String.Join (System.String separator, System.String[] value, System.Int32 startIndex, System.Int32 count) (at <46f7d46fbe504c3293db677ba8fad540>:0)
UnityEditor.PackageManager.UI.PackageDetails.RefreshSupportedUnityVersions () (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageDetails.SetDisplayVersion (UnityEditor.PackageManager.UI.IPackageVersion version) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageDetails.SetPackage (UnityEditor.PackageManager.UI.IPackage package, UnityEditor.PackageManager.UI.IPackageVersion version) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageDetails.OnSelectionChanged (UnityEditor.PackageManager.UI.IPackageVersion version) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PageManager+PageManagerInternal+<>c__DisplayClass39_0.<RegisterPageEvents>b__0 (UnityEditor.PackageManager.UI.IPackageVersion selection) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.Page.SetSelected (System.String packageUniqueId, System.String versionUniqueId) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.Page.RefreshSelected () (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.Page.FilterBySearchText (System.String updatedSearchText) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.Page.RebuildList (System.Collections.Generic.IEnumerable`1[T] addOrUpdateList, System.Collections.Generic.IEnumerable`1[T] removeList) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.OnFilterChanged (UnityEditor.PackageManager.UI.PackageFilterTab filterTab) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageFiltering+PackageFilteringInternal.set_currentFilterTab (UnityEditor.PackageManager.UI.PackageFilterTab value) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageManagerToolbar.SetFilter (UnityEditor.PackageManager.UI.PackageFilterTab filter) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.PackageManager.UI.PackageManagerToolbar.<SetupFilterMenu>b__17_6 (UnityEngine.UIElements.DropdownMenuAction a) (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEngine.UIElements.DropdownMenuAction.Execute () (at <8bed1d228e7e4e86b3fef5e556bc82f3>:0)
UnityEditor.UIElements.EditorMenuExtensions+<>c__DisplayClass0_0.<PrepareMenu>b__0 () (at <3de16298fe734039abdb3b291369bcac>:0)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <3de16298fe734039abdb3b291369bcac>:0)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.