Unreal Frontend build server/client error

When i build/package my unreal engine project in unreal frontend as a server it says error “server target not found. server target is required with -server and -cook or -cookonthefly” this happens with a client aswell i asume it has somthing to do with the "project"Server.target.cs files as used in this tutorial A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
but ive had no luck with that, i do have the unreal source code and i think if i build my project as a “Development Server” it will fix the problem but it still has the standard build types. could anyone elaborate on this error thanks.

This is the source code build types which is what i think i need in my project

13006-source+code.png

This is my projects build types and i would like to know how to get the ones like in the above

13007-my+project.png

Hi,

Check this out,

I had the same problem with you, and I managed to build a Development Server,
Basically, you need to do these steps:

  • Create Server.Target.cs file, which is already well explained in this link :A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums and the link above.

  • Use UnrealFrontend.exe under [The_Path_Of_Your_Open_Source_UE4]/Engine/Binaries/Win64(if don’t have, you need to compile it manually), open the Game Launcher Tab → Advanced, create a profile for your project, then cook your server content. you can find the files under [Your_Project]/Saved/Sandboxes/Cooked-WindowsServer

  • Use Open Source Unreal Editor generate the Visual Solution for your project, then compile Development Server, yes, you don’t need to package server in Unreal Editor.

If everything working properly, you should find YouGameServer.exe file under [Your_Project]/Binaries/Win64.

BTW, I’m using Unreal Engine 4.2.1, and I don’t have time to work on build a standalone dedicated server for this moment, sorry for that, but I think the way I did is pretty close to it. hope it works :slight_smile:

Thanks im away at the moment ill try this when I get home.

I used a bunch of stuff from bM0nkey’s answer to write a little guide on how to do this in case you’re still having issues: piinecone — Building a dedicated server in Unreal Engine 4