Download

An error occurred while trying to generate project files

Hello everybody,

I am new here and I am willing to learn to script in unreal engine 4, So the problem is when I tried to create a project with basic code I got this error message:


An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_4.20/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/GAMER/Documents/Unreal Projects/Youtube/Youtube.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
                             WARNING: Exception while generating include data for UE4Editor: System.FormatException: L'index (de base zero) doit etre superieur ou egal a zero et inferieur a la taille de la liste des arguments.
            a System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
            a System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
            a System.String.Format(String format, Object] args)
            a UnrealBuildTool.BuildException..ctor(String Format, Object] Arguments) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\BuildException.cs:ligne 39
            a UnrealBuildTool.VCEnvironment.Create(WindowsCompiler Compiler, CppPlatform Platform, String CompilerVersion, String WindowsSdkVersion) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:ligne 500
            a UnrealBuildTool.VCToolChain..ctor(CppPlatform Platform, ReadOnlyTargetRules Target) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCToolChain.cs:ligne 31
            a UnrealBuildTool.WindowsPlatform.CreateToolChain(CppPlatform CppPlatform, ReadOnlyTargetRules Target) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:ligne 1599
            a UnrealBuildTool.UEBuildTarget.CreateToolchain(CppPlatform CppPlatform) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:ligne 2436
            a UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, CPPHeaders Headers, List`1 OutputItems, List`1 UObjectModules, ISourceFileWorkingSet WorkingSet, ActionGraph ActionGraph, EHotReload HotReload, Boolean bIsAssemblingBuild) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:ligne 2012
            a UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:ligne 1737
            a UnrealBuildTool.ProjectFileGenerator.GenerateIntelliSenseData(String] Arguments, List`1 Targets) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:ligne 1736
Binding IntelliSense data... 0%@progress 'Binding IntelliSense data...' 50%
                             WARNING: Exception while generating include data for YoutubeEditor: System.FormatException: L'index (de base zero) doit etre superieur ou egal a zero et inferieur a la taille de la liste des arguments.
            a System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
            a System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
            a System.String.Format(String format, Object] args)
            a UnrealBuildTool.BuildException..ctor(String Format, Object] Arguments) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\BuildException.cs:ligne 39
            a UnrealBuildTool.VCEnvironment.Create(WindowsCompiler Compiler, CppPlatform Platform, String CompilerVersion, String WindowsSdkVersion) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:ligne 500
            a UnrealBuildTool.VCToolChain..ctor(CppPlatform Platform, ReadOnlyTargetRules Target) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCToolChain.cs:ligne 31
            a UnrealBuildTool.WindowsPlatform.CreateToolChain(CppPlatform CppPlatform, ReadOnlyTargetRules Target) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:ligne 1599
            a UnrealBuildTool.UEBuildTarget.CreateToolchain(CppPlatform CppPlatform) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:ligne 2436
            a UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, CPPHeaders Headers, List`1 OutputItems, List`1 UObjectModules, ISourceFileWorkingSet WorkingSet, ActionGraph ActionGraph, EHotReload HotReload, Boolean bIsAssemblingBuild) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:ligne 2012
            a UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:ligne 1737
            a UnrealBuildTool.ProjectFileGenerator.GenerateIntelliSenseData(String] Arguments, List`1 Targets) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:ligne 1736
Binding IntelliSense data... 50%@progress 'Binding IntelliSense data...' 100%
ERROR: UnrealBuildTool Exception: System.FormatException: L'index (de base zero) doit etre superieur ou egal a zero et inferieur a la taille de la liste des arguments.
          a System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
          a System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
          a System.String.Format(String format, Object] args)
          a UnrealBuildTool.BuildException..ctor(String Format, Object] Arguments) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\BuildException.cs:ligne 39
          a UnrealBuildTool.VCEnvironment.Create(WindowsCompiler Compiler, CppPlatform Platform, String CompilerVersion, String WindowsSdkVersion) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:ligne 500
          a UnrealBuildTool.VCToolChain.GetVCIncludePaths(CppPlatform Platform, WindowsCompiler Compiler, String CompilerVersion) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCToolChain.cs:ligne 1697
          a UnrealBuildTool.VCProjectFile.WriteProjectFile(List`1 InPlatforms, List`1 InConfigurations) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs:ligne 494
          a UnrealBuildTool.ProjectFileGenerator.WriteProjectFiles() dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:ligne 2475
          a UnrealBuildTool.VCProjectFileGenerator.WriteProjectFiles() dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProjectFileGenerator.cs:ligne 377
          a UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String] Arguments) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:ligne 963
          a UnrealBuildTool.UnrealBuildTool.GuardedMain(String] Arguments) dans D:\Build\++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:ligne 899


How can I fix this?

Thanks in advance!