Unable to create cpp project in linux

Attempting to create a new cpp project in Linux always results in:

Running /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh  -projectfiles -project="/home/thoth/Documents/Unreal Projects/MyProjectcpptest/MyProjectcpptest.uproject" -game -engine -progress
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll -projectfiles -project=/home/thoth/Documents/Unreal Projects/MyProjectcpptest/MyProjectcpptest.uproject -game -engine -progress
Log file: /home/thoth/.config/Epic/UnrealBuildTool/Log_GPF.txt

Some Platforms were skipped due to invalid SDK setup: Android.
See the log file for detailed information


Generating Make project files:
Discovering modules, targets and source code for project...
Targets with a unique build environment cannot be built with an installed engine.

And afterwards no project is created.

Have you tried checking the log file for detailed information?

The log file ends with this which is a bit more detailed, but I am uncertain what is wrong:

Targets with a unique build environment cannot be built with an installed engine.
BuildException: Targets with a unique build environment cannot be built with an installed engine.
   at UnrealBuildTool.RulesAssembly.CreateTargetRulesInstance(String TypeName, TargetInfo TargetInfo, ILogger Logger, Boolean IsTestTarget, Boolean bSkipValidation) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/System/RulesAssembly.cs:line 628
   at UnrealBuildTool.RulesAssembly.CreateTargetRules(String TargetName, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, UnrealArchitectures Architectures, FileReference ProjectFile, CommandLineArguments Arguments, ILogger Logger, Boolean IsTestTarget, Boolean bSkipValidation) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/System/RulesAssembly.cs:line 778
   at UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(PlatformProjectGeneratorCollection PlatformProjectGenerators, List`1 AllGames, List`1 AllTargetFiles, String[] Arguments, ProjectFile& EngineProject, List`1 GameProjects, Dictionary`2 ProjectFileToUProjectFile, Dictionary`2 ProgramProjects, Dictionary`2 RulesAssemblies, ILogger Logger) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/ProjectFiles/ProjectFileGenerator.cs:line 2450
   at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, String[] Arguments, ILogger Logger) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/ProjectFiles/ProjectFileGenerator.cs:line 916
   at UnrealBuildTool.GenerateProjectFilesMode.Execute(CommandLineArguments Arguments, ILogger Logger) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/Modes/GenerateProjectFilesMode.cs:line 67
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in /var/lib/jellyfin/thoth/build-unreal-engine/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.cs:line 599
WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
Timeline:

[ 0.000]
[ 0.000](+1.707) <unknown>
[ 1.707]

Here is a pastbin of the entire log:

https://bpa.st/AGVKQ

Turns out there was something off with my unreal engine build, recompiling unreal-engine solved my issues.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.