Connecting multiple clients on a Dedicated Server
I'm currently working on a Game that needs to be builded for a Multiplayer use.
I've followed this tutorial to setup and build correctly a Dedicated Server:
So right now I've a Packed Client and Dedicated Server that works very fine in lan and even over ip.
The problem is that I can't connect more than one Client in my server. What happen is this:
The first Client Connects without any problem:
The second one fails:
Please help me to understand what's the problem and how to fix it :)
asked Jun 03 '14 at 11:12 AM in Packaging & Deployment
Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar error, that is not 100% related, could you please submit a new report for it.
answered Apr 03 '15 at 06:27 PM
[Epic] Gribbs ♦♦ STAFF
I'm getting the exact same error. I'm trying to move my pawn on the client and synchronizing all the clients & server but making use of a (NetMulticast) function. However the client doesn't load and I'm using a Listen Server.
Having a look at your code, I see you are also using a Multicast function, maybe there something wrong there ?
We had this exact same problem, and like the other answer here the cause was a NetMulticast RPC getting spammed by the server to a client while it was connecting. Changing the RPC to a replicated variable instead fixed the issue entirely (in our case there was no real reason for it to be an RPC anyway).
I guess that technically this is a bug in UE4, but it's not impossible to work around it. That is, unless sending any NetMulticast RPC while a client is connecting causes the problem (rather than just spamming one), in which case it could cause some nasty seemingly random connection failures.
answered Jul 07 '14 at 04:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here