官方发布版本的引擎中不包含专用服务器,如果要使用专用服务器的话需要用源码版本的引擎进行打包。
在编译内部版本引擎的时候,可以修改InstalledEngineBuild.xml,将专用服务器整合进去。修改方法如下
<!-- Downstream monolithics and tools Win64 -->
<Node Name="Compile UE4Game Win64" Requires="Compile UnrealHeaderTool Win64" Produces="#UE4Game Win64;#UE4Game Win64 Unstripped;#UE4Game Win64 Stripped;#UE4Game Win64 Unsigned;#UE4Game Win64 Signed;#UE4Game Win64 Includes">
<Compile Target="UE4Game" Platform="Win64" Configuration="Development" Tag="#UE4Game Win64" Arguments="-precompile -nodebuginfo"/>
<Compile Target="UE4Game" Platform="Win64" Configuration="Shipping" Tag="#UE4Game Win64" Arguments="-precompile -nodebuginfo"/>
<Compile Target="UE4Server" Platform="Win64" Configuration="Deve