Dedicated server "Client connecting with invalid version"

Hello,

I’m upgrading my multiplayer project from UE4.27 to UE5, everything was really smooth in editor so we decided to do a packaged test.

No problem in the packaging process but the client cannot connect to the dedicated server. Below the logs:

  • Server: “Client connecting with invalid version. LocalNetworkVersion: 771076178, RemoteNetworkVersion: -738941789”
  • Client: “LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = OutdatedClient, ErrorString = The match you are trying to join is running an incompatible version of the game. Please try upgrading your game version., Driver = PendingNetDriver IpNetDriver_2147482209”

We tried to connect to the dedicated server inside the editor and we encountered the same error.

Our project uses UE5 release build from source. We didn’t upgrade our Client.Target.cs and Server.Target.cs content as nothing is mentioned in the UE5 version of the documentation.

You can find our project launchers configuration files as attachements.

CLIENT.ulp2 (2.8 KB)
SERVER.ulp2 (2.9 KB)

EDIT1: I’m still investigating, I found this log that are quite self explanatory:

  • Server: LogNetVersion: rigidity 1.0.0.0, NetCL: 0, EngineNetVer: 17, GameNetVer: 0 (Checksum: 771076178)
  • Client: LogNetVersion: rigidity 1.0.0.0, NetCL: 0, EngineNetVer: 23, GameNetVer: 0 (Checksum: 3556025507)

EDIT2: When launching the dedicated server on my machine the server net driver is the last one (23) but not on the AWS gamelift machine still (17)!

Ok, of course that was our faults.

In case someone makes the same mistake, we forgot to use the new pre-requisite installer.

1 Like

you can override the networkversion with a flag “-networkversionoverride=1234”

1 Like

I compiled the Dedicated Server (DS) from the source code version of the engine and packaged the server version. I also packaged the client version. During the connection process, this error occurred. Using this parameter, I perfectly resolved the issue.
THANKS!