Search Unity

Package Manager bug preventing me from seeing asset store purchases, 2020.1.0f1

Discussion in 'Package Manager' started by TheBreakfast, Jul 28, 2020.

  1. TheBreakfast

    TheBreakfast

    Joined:
    Jul 9, 2012
    Posts:
    2
    Hello, I'm receiving a bug whenever I refresh my Package Manager list when viewing Packages: My Assets. The error is a null reference exception. Is this a known issue, and is there a fix? I want to download some of my purchased assets but the Asset Store is no longer accessible in-editor. I've included a screenshot. Thank you.

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageList.OnListUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    3. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.TriggerOnPageUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    4. UnityEditor.PackageManager.UI.BasePage.TriggerOnListUpdate (System.Collections.Generic.IEnumerable`1[T] addOrUpdateList, System.Collections.Generic.IEnumerable`1[T] removeList, System.Boolean reorder) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    5. UnityEditor.PackageManager.UI.PaginatedPage.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    6. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    7. UnityEditor.PackageManager.UI.PackageDatabase+PackageDatabaseInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] packages) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    8. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal+<>c__DisplayClass30_0.<ListPurchases>b__1 (UnityEditor.PackageManager.UI.IOperation op) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    9. UnityEditor.PackageManager.UI.AssetStoreListOperation.<Start>b__40_0 (System.Collections.Generic.Dictionary`2[TKey,TValue] result) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    10. UnityEditor.PackageManager.UI.AssetStoreRestAPI+AssetStoreRestAPIInternal+<>c__DisplayClass19_0.<HandleHttpRequest>b__1 (UnityEditor.IAsyncHTTPClient httpClient) (at <b17f35b08b864a3ca09a7032b437596e>:0)
    11. UnityEditor.AsyncHTTPClient.Done (UnityEditor.AsyncHTTPClient+State status, System.Int32 i_ResponseCode) (at <b17f35b08b864a3ca09a7032b437596e>:0)
     

    Attached Files:

  2. densy07

    densy07

    Joined:
    Nov 27, 2013
    Posts:
    34
    I'm having the same problem
     
  3. Zarkend

    Zarkend

    Joined:
    May 11, 2016
    Posts:
    28
    Same here
     
  4. fbmd

    fbmd

    Joined:
    Dec 4, 2016
    Posts:
    16
    I have the same problem with 2020.1.2f1
    How come nobody cares about such a serious issue
    This post is now almost a month old!
     
  5. chrislarabell

    chrislarabell

    Joined:
    Sep 14, 2017
    Posts:
    9
    Same issue. Not good since I can't download them from the asset store either.
     
  6. putragonist

    putragonist

    Joined:
    Aug 13, 2013
    Posts:
    8
    same here... Hope it will be fixed soon
    Edit: can be fixed with restarting unity... But it's annoying since the bug still exist...
     
  7. hridpath

    hridpath

    Joined:
    Jan 28, 2017
    Posts:
    16
    This is really a hinderance to project development. has there been a bug filed?
     
    Cubingle likes this.
  8. Skewbald_Mare

    Skewbald_Mare

    Joined:
    Jul 20, 2014
    Posts:
    10
    Restarting is not working for me.. Bug filed
     
    Cubingle likes this.
  9. UpQuark

    UpQuark

    Joined:
    Nov 12, 2013
    Posts:
    1
    Same problem here, just started with 2020.1.0, the tried newest version 2020.1.5f1, same problem, only 1 asset from My Assets is shown.
    Encountered the same NullReferenceException: Object reference not set to an instance of an object problem.
    This makes any 2020 version unusable.
     
  10. Astha666

    Astha666

    Joined:
    Jul 14, 2013
    Posts:
    11
    Lol same here, with 2020.1.6f. It's almost 3 months since the problem occured...
    Has someone a solution for this problem?
     
  11. zemeryj

    zemeryj

    Joined:
    Oct 7, 2020
    Posts:
    6
    Jesus christ its been 3 months this is literally stopping any and all progress in game dev. Guess I'll move to Unreal Engine or something cause I can't work here. Even if I get past this, get another issue thats been reported since 2007 pls fix unity.
     
    reggie5538 likes this.
  12. densy07

    densy07

    Joined:
    Nov 27, 2013
    Posts:
    34
    Still existed in 2020.1.8f.
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageList.OnListUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    3. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.TriggerOnPageUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    4. UnityEditor.PackageManager.UI.BasePage.TriggerOnListUpdate (System.Collections.Generic.IEnumerable`1[T] addOrUpdateList, System.Collections.Generic.IEnumerable`1[T] removeList, System.Boolean reorder) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    5. UnityEditor.PackageManager.UI.PaginatedPage.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    6. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    7. UnityEditor.PackageManager.UI.PackageDatabase+PackageDatabaseInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] packages) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    8. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal.OnLocalInfosChanged (System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    9. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal.<RefreshProductUpdateDetails>b__40_1 (System.Collections.Generic.Dictionary`2[TKey,TValue] updateDetails) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    10. UnityEditor.PackageManager.UI.AssetStoreRestAPI+AssetStoreRestAPIInternal+<>c__DisplayClass18_0.<GetProductUpdateDetail>b__1 (System.Collections.Generic.Dictionary`2[TKey,TValue] result) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    11. UnityEditor.PackageManager.UI.AssetStoreRestAPI+AssetStoreRestAPIInternal+<>c__DisplayClass19_0.<HandleHttpRequest>b__1 (UnityEditor.IAsyncHTTPClient httpClient) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    12. UnityEditor.AsyncHTTPClient.Done (UnityEditor.AsyncHTTPClient+State status, System.Int32 i_ResponseCode) (at <9ddd600ae5964fe0b21a870e08c53748>:0)
    13.  
     
  13. Reekin

    Reekin

    Joined:
    Oct 7, 2015
    Posts:
    10
    Why no response?
    It's critical !
     
    ratatouillelk69 likes this.
  14. timothy92

    timothy92

    Joined:
    Mar 7, 2016
    Posts:
    12
    I'm having this issue too, really frustrating not being able to import assets I paid for
     
  15. HP

    HP

    Joined:
    Nov 20, 2012
    Posts:
    80
    Same error here with Unity3D 2020.1.9f1

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageList.OnListUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    3. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.TriggerOnPageUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    4. UnityEditor.PackageManager.UI.BasePage.TriggerOnListUpdate (System.Collections.Generic.IEnumerable`1[T] addOrUpdateList, System.Collections.Generic.IEnumerable`1[T] removeList, System.Boolean reorder) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    5. UnityEditor.PackageManager.UI.PaginatedPage.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    6. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    7. UnityEditor.PackageManager.UI.PackageDatabase+PackageDatabaseInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] packages) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    8. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal.OnLocalInfosChanged (System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    9. UnityEditor.PackageManager.UI.AssetStoreCache+AssetStoreCacheInternal.SetLocalInfos (System.Collections.Generic.IEnumerable`1[T] localInfos) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    10. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal.RefreshLocalInfos () (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    11. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal.RefreshLocal () (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    12. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.Refresh (UnityEditor.PackageManager.UI.RefreshOptions options, System.Int32 pageSize) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    13. UnityEditor.PackageManager.UI.PackageManagerWindow.OnFocusChanged (System.Boolean focus) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    14. UnityEditor.EditorApplication.Internal_FocusChanged (System.Boolean isFocused) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    15.  
     
  16. iSarCasm

    iSarCasm

    Joined:
    May 11, 2013
    Posts:
    5
    Same problem!
     
  17. expandrew

    expandrew

    Joined:
    Sep 7, 2017
    Posts:
    1
    I was also experiencing this issue with Unity Version 2020.1.9.f1. I also have TONS of assets in my saved asset library, as I got to collecting free assets for a while there. A lot of those assets had since deprecated.

    A workaround that I have so far found helpful was to go through all of my assets in my Asset Library on the Asset Store website and find all of the deprecated ones and Hide them. Then boot up Unity and log back into the hub again and check the Package Manager and I seem to more readily and easily be able to load my assets.

    Hope this helps.
     
  18. warvillex

    warvillex

    Joined:
    Aug 17, 2017
    Posts:
    1
    Same Problem Here Unity 2020.1.9f1.

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageManagerWindow.get_packageManagerToolbar () (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    3. UnityEditor.PackageManager.UI.PackageManagerWindow.SelectPackageAndFilter (System.String packageIdOrDisplayName, System.Nullable`1[T] filterTab, System.Boolean refresh, System.String searchText) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    4. UnityEditor.PackageManager.UI.PackageManagerWindow.OpenPackageManager (System.String packageNameOrDisplayName) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    5. UnityEditor.PackageManager.UI.Window.Open (System.String packageNameOrDisplayName) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
    6. UnityEditor.PackageManager.UI.Window.ShowPackageManagerWindow (UnityEditor.MenuCommand item) (at <cdc1918cb795429dbbd46f2de52cb053>:0)
     
  19. DarkGate

    DarkGate

    Joined:
    Jan 26, 2016
    Posts:
    33
    Having the same problem here. Unity 2020.1.4f1
     
  20. HP

    HP

    Joined:
    Nov 20, 2012
    Posts:
    80
    Problem still exists with Unity 2020.1.11f1
    Hiding the deprecated packages doesn't help.
     
  21. Rosthouse

    Rosthouse

    Joined:
    Mar 14, 2016
    Posts:
    1
    Jep, the problem is still present in 2020.1.11f1:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageList.OnListUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    3. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.TriggerOnPageUpdate (UnityEditor.PackageManager.UI.IPage page, System.Collections.Generic.IEnumerable`1[T] addedOrUpdated, System.Collections.Generic.IEnumerable`1[T] removed, System.Boolean reorder) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    4. UnityEditor.PackageManager.UI.BasePage.TriggerOnListUpdate (System.Collections.Generic.IEnumerable`1[T] addOrUpdateList, System.Collections.Generic.IEnumerable`1[T] removeList, System.Boolean reorder) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    5. UnityEditor.PackageManager.UI.PaginatedPage.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    6. UnityEditor.PackageManager.UI.PageManager+PageManagerInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] preUpdate, System.Collections.Generic.IEnumerable`1[T] postUpdate) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    7. UnityEditor.PackageManager.UI.PackageDatabase+PackageDatabaseInternal.OnPackagesChanged (System.Collections.Generic.IEnumerable`1[T] packages) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    8. UnityEditor.PackageManager.UI.AssetStoreClient+AssetStoreClientInternal+<>c__DisplayClass30_0.<ListPurchases>b__1 (UnityEditor.PackageManager.UI.IOperation op) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    9. UnityEditor.PackageManager.UI.AssetStoreListOperation.<Start>b__40_0 (System.Collections.Generic.Dictionary`2[TKey,TValue] result) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    10. UnityEditor.PackageManager.UI.AssetStoreRestAPI+AssetStoreRestAPIInternal+<>c__DisplayClass19_0.<HandleHttpRequest>b__1 (UnityEditor.IAsyncHTTPClient httpClient) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    11. UnityEditor.AsyncHTTPClient.Done (UnityEditor.AsyncHTTPClient+State status, System.Int32 i_ResponseCode) (at <282860f440ac4f48a82a3a8aaaec3082>:0)
    12.  
     
  22. GameDevGary

    GameDevGary

    Joined:
    Apr 15, 2014
    Posts:
    12
    Also having this issue, very frustrating! Unity 2020.1.9f1
     
  23. J3-Gaming

    J3-Gaming

    Joined:
    Dec 23, 2010
    Posts:
    55
    Having this issue with 2019.4.14f1
     
  24. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey folks,

    So sorry for the delay in reply. The only update I have is that the Package Manager team are aware of the issue and are looking into a resolution.
     
  25. mouhibbahri14

    mouhibbahri14

    Joined:
    Aug 18, 2019
    Posts:
    2
    Actually not only package manager can't load, also assetstore... I guess it's not a duty of Package Manager team...it's a problem of loading windows in general
     
  26. EvilKris

    EvilKris

    Joined:
    Nov 18, 2014
    Posts:
    27
  27. Absoris

    Absoris

    Joined:
    Sep 10, 2017
    Posts:
    2
    I have the same problem, today I opened my project, I have a bunch of compile errors related to the package manager, and I can't load any asset using the package manager or even open the Asset Store window, We need a solution.
     
  28. hbonin

    hbonin

    Unity Technologies

    Joined:
    Feb 11, 2020
    Posts:
    54
    Hi all, we have a pull request currently in review which addresses a similar NullReferenceException error but we are not entirely sure it fixes all instances of the reported problem.

    Here are the replication steps of the addressed issue:
    1. Go in Package Manager > My Assets
    2. Load more n assets
    3. If you do not get the exception, trying going in play mode before trying steps again
    A few things to speed up the process:
    1. Use Unity bug reporter
    2. When posting on the forum, mention the exact Unity version you are using (eg. 2019.4.14f1 as I have already seen some above) + platform (mac or pc)
    3. Provide exact replication steps. Something obvious to you might not be necessarily obvious to the development team.

    Hopefully the PR lands soon enough and fixes the reported issue.

    Thanks all
     
    Last edited: Nov 19, 2020
  29. MattieVO

    MattieVO

    Joined:
    Apr 22, 2020
    Posts:
    2
    if i try to open package manger from "window" it gives me the error
     
  30. MattieVO

    MattieVO

    Joined:
    Apr 22, 2020
    Posts:
    2
    What fixed it for me was loading it with a older version and than loading it again with the original version.
    So try that
     
    orrinjones and kxuan435 like this.
  31. ntgCleaner

    ntgCleaner

    Joined:
    Jul 9, 2020
    Posts:
    27
    I had this same issue and just now fixed it (I'm sure temporarily).

    I first quit unity, then removed the [Project Folder] > Library > CurrentLayout-default.dwlt and then fire unity back up and it worked again.

    This is sort of the same process that you have to do when you get the layout issue which I've been getting even on brand new projects.
     
  32. tolgakaranlik

    tolgakaranlik

    Joined:
    Oct 8, 2020
    Posts:
    7
    Yeah, it really worked. You are the greatest man! Many of the annoying, meaningless red error messages on my console have been disappeared after the trick you told. Many thanks!
     
  33. XochiInteractive

    XochiInteractive

    Joined:
    May 21, 2018
    Posts:
    19
    Having the same problem here. Unity 2020.1.8f1 using Windows 10. I try to open the Package Manager from the Window tab and receive this error.
     
  34. XochiInteractive

    XochiInteractive

    Joined:
    May 21, 2018
    Posts:
    19
    This temporary solution worked for me as well.
     
    hbonin likes this.
  35. hbonin

    hbonin

    Unity Technologies

    Joined:
    Feb 11, 2020
    Posts:
    54
    Thank you very much for this tips, I will forward it to the team. It should help them to troubleshoot.
     
    XochiInteractive likes this.
  36. HP

    HP

    Joined:
    Nov 20, 2012
    Posts:
    80
    I don't know if it has anything to do with it, but sometimes I get this error message too.
    However, it occurs relatively rarely.

    Code (CSharp):
    1. The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project
    2. 0x00007FF7E223B92C (Unity) StackWalker::GetCurrentCallstack
    3. 0x00007FF7E223F951 (Unity) StackWalker::ShowCallstack
    4. 0x00007FF7E34C4715 (Unity) GetStacktrace
    5. 0x00007FF7E438A65E (Unity) DebugStringToFile
    6. 0x00007FF7E232CF55 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    7. 0x000001FC7F74201B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    8. 0x000001FC7F741E0B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    9. 0x000001FC7F741B50 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    10. 0x000001FC7F74188A (Mono JIT Code) UnityEngine.Debug:Log (object)
    11. 0x000001FBDC9BBC9B (Mono JIT Code) UnityEditor.WindowLayout:LoadWindowLayout (string,bool,bool,bool)
    12. 0x000001FBDC9BA2DB (Mono JIT Code) UnityEditor.WindowLayout:LoadProjectLayout (bool)
    13. 0x000001FBDC9B269B (Mono JIT Code) UnityEditor.WindowLayout:LoadCurrentModeLayout (bool)
    14. 0x000001FBDC9B259B (Mono JIT Code) UnityEditor.WindowLayout:LoadDefaultWindowPreferences ()
    15. 0x000001FC7EF65ADD (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    16. 0x00007FFFB2D9DB10 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    17. 0x00007FFFB2D22902 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    18. 0x00007FFFB2D2B95F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
    19. 0x00007FF7E20DC8A4 (Unity) scripting_method_invoke
    20. 0x00007FF7E20D63EB (Unity) ScriptingInvocation::Invoke
    21. 0x00007FF7E20D00B5 (Unity) ScriptingInvocation::Invoke<void>
    22. 0x00007FF7E0988932 (Unity) Scripting::UnityEditor::WindowLayoutProxy::LoadDefaultWindowPreferences
    23. 0x00007FF7E2CC5531 (Unity) Application::FinishLoadingProject
    24. 0x00007FF7E34F497F (Unity) WinMain
    25. 0x00007FF7E51DD726 (Unity) __scrt_common_main_seh
    26. 0x00007FF821107034 (KERNEL32) BaseThreadInitThunk
    27. 0x00007FF822CDCEC1 (ntdll) RtlUserThreadStart
    28.  
     
  37. SaphirLabs

    SaphirLabs

    Joined:
    Jan 24, 2017
    Posts:
    4
    In can't open package manager. I'm on 2020.1.11f1.
    It's critical, what are you doing guys ?

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PackageManager.UI.PackageManagerWindow.SelectPackageAndFilter (System.String packageIdOrDisplayName, System.Nullable`1[T] filterTab, System.Boolean refresh, System.String searchText) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindow.cs:394)
    3. UnityEditor.PackageManager.UI.PackageManagerWindow.OpenPackageManager (System.String packageNameOrDisplayName) (at /Users/bokken/buildslave/unity/build/Modules/PackageManagerUI/Editor/UI/PackageManagerWindow.cs:341)
    4. UnityEditor.AssetStoreWindow.OnLaunchPackageManagerButtonClicked () (at /Users/bokken/buildslave/unity/build/Editor/Mono/AssetStore/AssetStoreWindow.cs:68)
    5. UnityEngine.UIElements.Clickable.Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Clickable.cs:80)
    6. UnityEngine.UIElements.Clickable.ProcessUpEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.Vector2 localPosition, System.Int32 pointerId) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Clickable.cs:168)
    7. UnityEngine.UIElements.Clickable.OnMouseUp (UnityEngine.UIElements.MouseUpEvent evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Clickable.cs:99)
    8. UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Events/EventCallback.cs:64)
    9. UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Events/EventCallbackRegistry.cs:332)
    10. UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Events/EventHandler.cs:95)
    11. UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Events/EventHandler.cs:77)
    12. UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:84)
    13. UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:318)
    14. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:281)
    15. UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:244)
    16. UnityEngine.UIElements.EventDispatcher.OpenGate () (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:209)
    17. UnityEngine.UIElements.EventDispatcherGate.Dispose () (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:44)
    18. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:309)
    19. UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:161)
    20. UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/Panel.cs:278)
    21. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:459)
    22. UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:209)
    23. UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:74)
    24. UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/bokken/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:28)
    25. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
     
  38. magister_yoda_

    magister_yoda_

    Joined:
    Mar 27, 2016
    Posts:
    32
    The same problem. I had completely working version without any bugs, but suddenly after restarting Unity it has started showing errors. When I try to open Window->PackageManager it shows all this errors. When I try to open Window->General->Services it shows another error (the second screenshot about a key in a dictionary). I cannot continue working on my project
     

    Attached Files:

  39. magister_yoda_

    magister_yoda_

    Joined:
    Mar 27, 2016
    Posts:
    32
    If it can help, I also have such type of warnings
    Cannot add menu item 'Assets/Play Services Resolver/iOS Resolver/Settings' for method 'IOSResolver.SettingsDialog' because a menu item with the same name already exists.

    AND
    such type of errors which are appeared when I just has opened Unity
     

    Attached Files:

  40. kshitijdutt

    kshitijdutt

    Joined:
    Dec 21, 2017
    Posts:
    1
    For all of those who are finding solution, Here is the solution which worked for me :
    1. if you have ExternalDependencyManager or PlayServicesResolver, more/remove these (they should not be in Assets folder)
    2. Restart Unity
    3. Done it will start working
     
    CouchTomato likes this.
  41. magister_yoda_

    magister_yoda_

    Joined:
    Mar 27, 2016
    Posts:
    32
    YEAP. I just wanted to write about the same solution. After a day of searching for the bug in Unity, I finally removed a folder PlayServicesResolver from my Assets folder and it started to work.
     
  42. ElSabadero

    ElSabadero

    Joined:
    Dec 7, 2018
    Posts:
    7
    If you are looking for a solution and none of the above have worked so far the solution that worked for me was:

    1. If you have a folder named "Assets" inside the Asset folder, change its name
    2. Restart your Unity project
    3. Hopefully it is fixed now:)
     
    mcmohorn and magister_yoda_ like this.
  43. treyman

    treyman

    Joined:
    Sep 2, 2017
    Posts:
    3
    This solution worked for me in Unity 2020.1.9f1:
    1. Reset to default layout. Window -> Layouts -> Default
    2. Close the Asset Store Window
    3. Save and restart your project
    4. Open the asset store panel. Window -> Asset Store

    This should allow you to successfully load the Asset Store and Package Manager
     
  44. tolgakaranlik

    tolgakaranlik

    Joined:
    Oct 8, 2020
    Posts:
    7
    This problem seems gone for me in 2020.2 version
     
  45. johnnyshumway

    johnnyshumway

    Joined:
    Jul 29, 2020
    Posts:
    7
    I closed the Unity Editor and Re Opened it, this seemed to fix it for me. I am in Unity Editor Version 2020.1.8f1 Personal Edition. I hope this helps.
     
  46. reydavies

    reydavies

    Joined:
    Oct 24, 2016
    Posts:
    3
    Closing and re opening worked for me also. Unity2020.1.8f
     
  47. reydavies

    reydavies

    Joined:
    Oct 24, 2016
    Posts:
    3
    Unity2020.1.8f What I also found that works for me is when you are in Unity and are experiencing errors, revert the layout to Default layout, then close. When you re-open Unity the errors are gone. This works every time for me.
    If you so much as re-size a window and don't revert to Default Layout before closing, the error will be back on re-opening.
    After re-opening you can open Asset store, Package Manager or any window you wish to open, just remember to revert to Default Layout before you close.
     
  48. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    I have a similar problem, and I can't open the package manager, and resetting the packages does nothing
     
  49. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    This is a really crippling bug, and it's been months. How can we escalate this issue?
     
  50. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    556
    Hi @Drowning-Monkeys,

    I suggest you try to update to the latest stable version of the Editor in case the issue you're hitting was resolved. (I cannot advise on the specific version to update to since you did not specify what version you're using.)

    If you're already on the latest stable version that you can use and you still run into the issue, I suggest you report a bug (https://unity3d.com/unity/qa/bug-reporting) so you can get support in a more efficient manner. Ideally, you should first reproduce the issue so the Editor logs relevant errors and messages to its log file before you open the bug report. This way, we can inspect the log file that is automatically submitted along the report.