Unity closing automatically without any error?

Hi, so everything was working fine but I don’t know why suddenly unity closed and an error popped up just for a second or two and it said something about C++ sorry I couldn’t read it because it closed just after that.

Since then whenever I open any unity project (even empty) unity runs for 20-30 seconds and then closes without any error(nothing not even that c++ one) just like someone closed it. and it just won’t work Iooked at unity in task manager when it closes and it isn’t using much RAM or CPU and I don’t know why this is happening.

MY PC

  • Unity 5.6.4f(32bit)
  • Windows 7 32bit
  • 2gb RAM
  • 2.93Ghz processor E7500
  • nvidia Geforce 210 [1gb Vram]

I have tried

  • Re-installing unity

If you are using Visual Studio 2017, try opening Visual Studio Installer.
It may need to update first, after it is updated it may also show a Update button in the Visual Studio 2017 option, click on it.
Once you have everything updated, you should be able to press a Modify button in the same place. Click on it and check you have installed at least:

  • All the windows options (there should be three probably)
  • In gaming and development, check you have Game Development with Unity and just in case Game Development with C++ (last one shouldn’t be neccesary).

With that, check if its working.
If not, it may be the 32bit but I don’t think it is that because you specify that you downloaded the 32bit version.