PackageCache errors after editor version update

Unity made me install the 2019 version and now my project does not load in the 2020 version. There are a bunch of errors and also everything is gone. My project was made in the 2020 version.

Delete Project_directory\Packages\manifest.json file (backup it first, just in case).

This will force the editor to reimport the default package versions for this Unity version.