Failing to build Dedicated Server (4.14)

Hi,

I’m following the instructions for building a Dedicated Server as found here:

On step 8 using the UnrealFrontend tool I run into a problem. After creating the custom profile and clicking “Launch This Profile”, it fails on the 2nd step. I receive the following error.

Running AutomationTool…
Automation.ParseCommandLine: Parsing
command line:
-ScriptsForProject=“C:/Users/Onur Komili/Documents/Unreal
Projects/EyesAndEars
4.13/EyesAndEars.uproject” BuildCookRun -project=“C:/Users/Onur
Komili/Documents/Unreal
Projects/EyesAndEars
4.13/EyesAndEars.uproject” -noP4 -clientconfig=Development -serverconfig=Development -utf8output -server -serverplatform=Win64 -noclient -build -cook -map=TopDownExampleMap -unversionedcookedcontent -compressed -stage -deploy -cmdline=“TopDownExampleMap -Messaging” -addcmdline="-SessionId=13120E984313EAE74C4A35907AB27D12
-SessionOwner=‘Onur Komili’ -SessionName=‘Eyes and Ears Dedicated Server’" -run -compile
Automation.Process: Setting up command
environment.
ScriptCompiler.FindAndCompileScriptModules:
Compiling scripts. MSBuild:
DotNETUtilities → C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\DotNETUtilities.dll
MSBuild: UnrealBuildTool →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool.exe
MSBuild: AutomationUtils.Automation
→ C:\Users\Onur Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
MSBuild: AllDesktop.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
MSBuild: Localization.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
MSBuild:
OneSkyLocalization.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
MSBuild:
AutomationScripts.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
MSBuild: Android.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
MSBuild: BuildGraph.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
MSBuild: HTML5.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
MSBuild: MobileDeviceInterface →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
MSBuild: IOS.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
MSBuild: Linux.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
MSBuild: Mac.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
MSBuild: TVOS.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
MSBuild: Win.Automation →
C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
MSBuild: XLocLocalization.Automation
→ C:\Users\Onur Komili\Downloads\UnrealEngine-release\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
CommandUtils.Run: Run: Took 1.5371276s
to run MSBuild.exe, ExitCode=0
BuildCookRun.SetupParams: Setting up
ProjectParams for C:\Users\Onur
Komili\Documents\Unreal
Projects\EyesAndEars
4.13\EyesAndEars.uproject DynamicCompilation.CompileAssembly:
Messages while compiling C:\Users\Onur
Komili\Downloads\UnrealEngine-release\Engine\Programs\AutomationTool\Saved\Rules\UATRules-946100199.dll:
DynamicCompilation.CompileAssembly:
ERROR: c:\Users\Onur
Komili\Documents\Unreal
Projects\EyesAndEars
4.13\Source\EyesAndEarsServer.Target.cs(32,48)
: error CS0115:
‘EyesAndEarsServerTarget.GUBP_GetPlatforms_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform)’:
no suitable method found to override
DynamicCompilation.CompileAssembly:
ERROR: c:\Users\Onur
Komili\Documents\Unreal
Projects\EyesAndEars
4.13\Source\EyesAndEarsServer.Target.cs(41,53)
: error CS0115:
‘EyesAndEarsServerTarget.GUBP_GetConfigs_MonolithicOnly(UnrealBuildTool.UnrealTargetPlatform,
UnrealBuildTool.UnrealTargetPlatform)’:
no suitable method found to override
Program.Main: ERROR: AutomationTool
terminated with exception: ERROR:
UnrealBuildTool encountered an error
while compiling source files
Program.Main: AutomationTool exiting
with ExitCode=1 (Error_Unknown) BUILD
FAILED

The key bit with the error being in those last 5 lines. I Googled around and see others have recently had this issue as well, as recently as 2 days ago, so I’m wondering if this is a bug. Here’s the thread where if you scroll all the way through you see more people piping up recently saying they are having problems.

Anyone know how to fix this? Is it a bug?

Cheers,

Onur

Crisis averted after some reading on the forums…

Following this post’s suggestions fixed the issue for me. As far as I can tell this is just a random dude, so by no means an official fixed, but I was able to build a dedicated server doing that.