Sorry to necromance this thread, but I really need help getting the Server Target to work for my built binaries.
At first I was building the dedicated server for my game with the Built from Source version of the Unreal Engine (4.20.3), and it works. Now I am trying to get a Local Built I can distribute inhouse, so everyone can built the Server Target, but does not need to built the engine him-/herself.
I followed all the instructions of the previous posts here and my Local Build actually has the “Development Server” Target. But when I try to use it I get the following error:
UnrealBuildTool : error : Couldn’t find target rules file for target ‘UE4Server’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
2> Location: E:\Projects\UnrealEngineGit\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\BuildRules\UE4Rules.dll
2> Target rules found:
2> (see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
The “Development Game” Target seems to work withouth problems.
I attached my InstalledEngineBuild.xml file, but I didn’t change anything besides the recommended changes for the Server Target. I even looked at the diff of @ryanjon2040s file and mine.
This is the command I am using to start the UAT Build:
./RunUAT.bat BuildGraph -target=“Make Installed Build Win64” -script=“Engine/Build/InstalledEngineBuild.xml” -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithHTML5=false -set:WithLumin=false -set:WithDDC=false -set:WithWin32=false
Anyone here had the same problem? Do I have to do something since UE 4.20.3 that I didn’t hear of yet?
Looking forward to your help!