We’ve recently had one of our staff members write up a more comprehensive guide for setting up a dedicated server. Go ahead and run through these steps, and don’t forget to include -log in the shortcut so you can see the log in the command window. You can later look at the log in your packaged game’s Saved->Logs folder and you can see what errors you’re running into.
public override bool GetSupportedPlatforms(ref List<UnrealTargetPlatform> OutPlatforms)
// It is valid for only server platforms
return UnrealBuildTool.UnrealBuildTool.GetAllServerPlatforms(ref OutPlatforms, false);
I just built a dedicated server earlier and had to do that and I was able to get it to build and run successfully.