Download

ArgumentException Throwed when creating C++ Project

*Hey there,

a couple weeks ago I formatted my hard drive and installed win10 again and later then I decieded to install Unreal Engine. So I installed first visual studio 2015 and after that the unreal engine but every time I try to create a c++ project I get this exception

Running C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/Foodlover/Documents/Unreal Projects/MyProject3/MyProject3.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
UnrealBuildTool Exception: System.ArgumentException: Illegales Zeichen im Pfad.
bei System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.Path.GetFullPath(String path)
bei UnrealBuildTool.FileSystemReference…ctor(String InPath)
bei UnrealBuildTool.FileReference…ctor(String InPath)
bei UnrealBuildTool.DynamicCompilation.RequiresCompilation(List1 SourceFileNames, FileReference AssemblySourceListFilePath, FileReference OutputAssemblyPath) bei UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, List1 SourceFileNames, List1 ReferencedAssembies, List1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors)
bei UnrealBuildTool.RulesAssembly…ctor(IReadOnlyList1 Plugins, List1 ModuleFiles, List1 TargetFiles, Dictionary2 ModuleFileToPluginInfo, FileReference AssemblyFileName, RulesAssembly Parent)
bei UnrealBuildTool.RulesCompiler.CreateEngineRulesAssembly()
bei UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(List1 AllGames, ProjectFile& EngineProject, Dictionary2& GameProjects, Dictionary2& ProgramProjects, HashSet1& TemplateGameProjects)
bei UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String] Arguments, Boolean& bSuccess)
bei UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator Generator, String] Arguments)
bei UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String] Arguments)

Illegales Zeichen im Pfad means Illegal Character in Path

C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/DotNET/UnrealBuildTool.exe have some blank spaces, maybe this is the reason?

I hope anyone could help

So long…*

UPDATE:

I just reinstalled epic games launcher and engine, now everything works fine!