When I try to run the server on windows it crashs on launch. Even with the -log argument it’s not possible to read the errors (there is alot red) before the window disappears.
I searched alot just to figure out how to make the window stay, so I could read the errors, but I couldn’t find anything.
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.