Client targets are not currently supported from this engine distribution.

I am unable to package my game with UE 5.0.3.

I have tried all available binary configurations: shipping, debuggame, and development, all in vain.

However, UE built from source can package my game.
It’s very strange because I don’t see this issue being reported before.

What could I be doing wrong?

Log started at 11/3/2022 9:52:06 PM (2022-11-03T16:22:06Z)
No config file at C:\Users\[REDACTED]\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
  C:\Users\[REDACTED]\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Log file: C:\Users\[REDACTED]\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\UBT-MyProject-Win64-Development.txt

Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Win64 using Manual SDK 10.0.22621.0
Command line: "C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MyProject Win64 Development -Project=D:\Projects\MyProject\UnrealProject\MyProject.uproject D:\Projects\MyProject\UnrealProject\MyProject.uproject -NoUBTMakefiles -remoteini=D:\Projects\MyProject\UnrealProject -skipdeploy -Manifest=D:\Projects\MyProject\UnrealProject\Intermediate\Build\Manifest.xml -NoHotReload "-log=C:\Users\[REDACTED]\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\UBT-MyProject-Win64-Development.txt"
Using 'git status' to determine working set for adaptive non-unity build (D:\Projects\MyProject).
Skipping C:\Program Files\Epic Games\UE_5.0\Engine\Intermediate\Build\BuildRules\UE5Rules.dll: File is installed
Skipping C:\Program Files\Epic Games\UE_5.0\Engine\Intermediate\Build\BuildRules\UE5ProgramRules.dll: File is installed
Found Visual Studio installation: C:\Program Files\Microsoft Visual Studio\2022\Community (Product=Microsoft.VisualStudio.Product.Community, Version=17.3.32929.385)
Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629 (Family=14.33.31629, FamilyRank=1, Version=14.33.31630, Is64Bit=True, Preview=False, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.32.31326)
ERROR: Client targets are not currently supported from this engine distribution.
BuildException: Client targets are not currently supported from this engine distribution.
   at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 735
   at UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 726
   at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, Boolean bSkipPreBuildTargets) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 267
   at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 237
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 612
WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
Timeline:

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

Did you create a client build file target? Its a manual process just like server.

I think now I understand what the problem is.
The client target is a networking target like a server target.
The epic launcher version of the engine doesn’t support building networking targets, unlike the source-built version.

As far as I know, only the editor and game targets are supported by the launcher version.
Only the source-built version is capable of building to server or client targets.

My packaging failed because my target file was configured to be a client target.
I changed that to ‘Game’ like so :

Type = TargetType.Game;

Now, my game packages successfully.

1 Like

我也出现了类似的情况。我将VS的解决方案配置修改为DevelopmentEditor就解决了。

原因是项目中包含[ProjectName]Client.Target.cs以及[ProjectName]Server.Target.cs。这说明创建这个项目的人决定需要编译为专用服务器。这在发布版的UE中不支持的。

En:
I encountered a similar situation. I resolved it by changing the solution configuration in VS to DevelopmentEditor.

The reason is the project contains [ProjectName]Client.Target.cs and [ProjectName]Server.Target.cs. This indicates the person who created this project decided it needs to be compiled as a dedicated server, which is not supported in shipped builds of UE.

如果说本来就是想打包Server和CLient的话,报这个错误是正常的,因为从Epic下载的发布版本不支持这样的功能,解决方法就是在官网绑定github账号,邮箱里确认以后就可以访问ue在github上的源程序。之后可以git目标版本,再把uproject文件切换版本就好了。

If the target is to get package as Server or Client, it is normal to be like this for these function are banned if download by Epic launcher. The Solution is to bind your Epic account with your Github account and git the correct version. After that switch the file to new version.