Package Manager not loading

Can someone please help me with getting package manager to load in Unity?

Anytime I open package manager in any project it shows blank as you can see in the below screenshot.

Unity version: 2019.4.17f1 LTS
Windows version: Windows 10 Home 20H2

What I’ve tried doing so far to resolve the issue.

  • Disabled McAfee antivirus firewall and real time scanning

  • Added Unity to allow all rules in Advanced Windows firewall and defender settings

  • Checked the console in Unity no errors show

  • Reset Packages to default

  • Uninstalled and reinstalled Unity 2019.4.17f1 LTS

  • Installed the new version of Unity 2020.2.1f1

  • Checked the UPM log file in local user Appdata folder can see the following,

[2020-12-28T16:51:04.420Z][ERROR] Failed to write metadata cache file [C:\Users\andre\AppData\Local\Unity\cache\npm\packages.unity.com\packages.unity.com\com.unity.scriptablebuildpipeline.cache.json]: Access to the file [C:\Users\andre\AppData\Local\Unity\cache\npm\packages.unity.com\packages.unity.com\com.unity.scriptablebuildpipeline.cache.json] is denied

When I seen the error in the UPM log I gave all users full read and write to the unity folder in local AppData.

6665470–762637–2019.4.17f1-upm.txt (1.11 KB)

There is an issue writing to your package cache according to your log file. It could be a lot of things, but some of the common causes for read/write exceptions are :

  • Another process (like an open IDE or an anti-virus) blocking access to the file.

  • The user lacking the permission to write in those folders.

  • Some sort of corruption going on in the file system.

  • Not having enough free space on the disk.

In any case, I think the first logical step would be to make sure the disk is not full and then delete the folders causing the issue and then to try again. There are two of them; taken from the log file :

C:\Users\andre\AppData\Local\Unity\cache\npm\packages.unity.com\packages.unity.com\com.unity.ads\

C:\Users\andre\AppData\Local\Unity\cache\npm\packages.unity.com\packages.unity.com\com.unity.scriptablebuildpipeline\