After 4 days of bug testing, and 4 reinstalls of windows, I found out that the cause was this file:
My Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
It was empty, and Ue4 was trying to use it instead of the default location of the Build Configuration.
Deleting it is the solution.