Package Manager renders black on launching.

In my project, the package manager window is black. I don’t remember when it started.

Also, the following error is displayed:

Cannot perform upm operation: Cannot
read property ‘map’ of undefined
[NotFound]
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Error searching for packages.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

It will be displayed correctly in new projects.
Does anyone know a solution?

version : Unity 2019.4.10f

I solved it myself.

In the player settings, the Windows Graphics API was OpenGL ES3.
Reverting this to DirectX solved the problem.