Server targets are not currently supported from this engine distribution

while trying to development server
there is an error

Server targets are not currently supported from this engine distribution

i have made ProjectServer.Target.cs

// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class ProjectServerTarget : TargetRules
{
public ProjectServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
DefaultBuildSettings = BuildSettingsVersion.V2;
ExtraModuleNames.Add(“Project”);
}
}

You do need to compile the engine from source for server targets

1 Like

I have built from visual studio with Development Server and Win64
but I got the error while building

the same error any one found the the solution

May be a problem with your CS.Build targets in the folder hierarchy in Visual studio… I had to manually fix mine as they weren’t plug and play out of the box after building from source and then you gotta rebuild again client and server in Visual studio before packaging…

I think if you start a fresh C++ project they may be correct off the start, but a new or existing blueprint project they are not set up correctly when you add a C++ class to your project to get the files into visual studio. That was my case in 4.26.2 source build.

My project was customized when I created it to work as c++ not blueprint but got the error

1 Like

Is visual studio throwing the error " Server targets are not currently supported from this engine distribution"?

Seems like the message you would get from within the editor when choosing a target from a blueprint build only

Right click on the project file => “switch unreal engine” and check that you have the source build engine from the drop-down selected.

If you have the regular build:

  • delete old project folders (Intermediate,Saved, .vs, Binaries and .sln file)
  • do a fresh Generate Visual Studio project files
  • run visual studio and build server and client
4 Likes

Perfect! Thanks!

Severity Code Description Project File Line Status Deleted

this is the error i’ve, could you help me please? i can’t compile as developer server
i do my own post trying to solve it Error MSB3073 VS 2022

Hi there, I have been googling and looking for an answer for this issue and since I’ve make it work I’ll post my experience.

I’ll let you know the steps I’ve followed to accomplish this.

But first let’s talk about the problem and why I’ve done what I have done.

The problem is that the Standard version of UE (no matter what the version) isn’t able to produce a Server package. It doesn’t matter what you do/try, if you are using the standar version (as in: Download vía Epic Launcher) you will never be able to package the dedicated server.

The solution is to download the Source from gitHub and compile it indicating the features you need (in this case, the one that allows to package dedicated servers).

So, the steps I’ve followed:

1.- I’ve uninstalled all versions of UE I had on the Epic Launcher.
Since I was doing a lot of tests, I finished with 3+ versions of UE installed vía Epic Launcher.

2.- Uninstall Visual Studio 2022 and Visual Studio 2019.
Since while doing tests I injected a lot of packages that can interfere on a “clean build”.

You can always download the installer from VS official page. In the case of Visual Studio 2019 (wich I will use since I will compile 4.26 version of UE) it isn’t listed no more on dowload pages of VS, but if you install UE 4.26 FROM Epic launcher and you open it, will warns you don’t have VS2019 installed and will offer to install it. So I uninstalled my VSs, installed UE 4.26 from Epic Launcher, Installed VS2019 from UE, and then uninstall UE 4.26 again.

3.- Download source code, compile it and try the package.

For a full walkthrough on how to do this, please follow the next link:

It will explain how to get access to gitHUb repo and every step to follow until you have a compiled version of your dedicated server.

(And I highly recommend that channel, very nice concrete go-to-the-point tutorials)

I’have tested it using UE 4.26 and it works like a charm.

I think that’s all.
Regards.

1 Like