Is it required to build engine from source code when building dedicated server in UE5?

Trying to build the server and client version for game, but nothing seems to work.
When trying to build “development server” (or client) from Visual Studio I get either Server targets are not currently supported from this engine distribution. in log file or the error for build itself: “Error MSB3073 … The command exited with code 6.”
Building in Rider produces the same errors.
The updating of the project and engine didn’t work.

Documentation for UE4 says I need to rebuild the whole engine from source files. In the docs for UE5 there no such point, and building the server or client looks clear and easy (but not in my case).

The question are: What can possibly lead to these mistakes? And do I need to rebuild the engine from scratch every time?

1 Like

Hi there @QUDANC, hope you’re well!

This topic has been moved from International to Programming & Scripting.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile:

If you would prefer a different category, feel free to @ me and I’ll move it over! :smiley:

Hey there @QUDANC! If I remember correctly, that error stems from the Server targets needing to be setup. I’m not extremely well versed in the server setup process, but we’ve generally always had to do it with a source built engine.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

This video might help out:

Yes the Launcher engine does not include prebuilt binaries for dedicated server / dedicated client, so you have to build from source.

It is still stated in the dedicated server documentation for UE5

1 Like