For me the solution was to delete the app data for Unreal engine and regenerate the default engine ini file all at once.