[NEED HELP] Unity crashes after opening any project

The problem: when I open a project with the unity hub(same version and and newer versions) the hub closes, I see the splash unity widow(the image), and the hub opens again, and the splash disapears and nothing happens.

When I look at the task manager I see that unity is not responding.

What I tried:

  1. Installing via agent off the unity website.
  2. Downloading the whole editor and installing it.
  3. Installing it via the unity hub.

I tried to open couple of project and when I made new project it opened but after I closed it and reopened it, it did the same thing and it was failed to open.

How can I fix it ? Everything was working fine but I reinstalled windows and now this happens.(cleared all C drive)

Update: Here is what I found in the editor’s logs
Initiating legacy licensing module
Built from ‘2019.2/release’ branch; Version is ‘2019.2.10f1 (923acd2d43aa) revision 9583309’; Using compiler version ‘191627012’
OS: ‘Windows 10 (10.0.0) 64bit’ Language: ‘en’ Physical Memory: 32713 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start – Port 65511 was selected

COMMAND LINE ARGUMENTS:
C:/Program Files/Unity/Editor/Unity.exe
-projectpath
D:/Unity/Tests/2
-useHub
-hubIPC
-cloudEnvironment
production
-hubSessionId
3548f7d0-fd7b-11e9-88fd-f7c4b4b7678c
Exiting without the bug reporter. Application will terminate with return code 0

Someone please help me because I can’t work because of that. I searched everywhere but no answer :frowning:

I still need help, unity works on 2019.3(I can’t use it because of some assets) but not 2019.1 and 2019.2. Please help.