I followed [this guide to create a dedicated server for Windows.
Everything works great except the input on the first client breaks once more players join. The exact problem is described in this [unanswered question][2] which says:
Repro steps:
- Download and compile from github.
- Make dedicated server.
- Package game and server.
- Launch server with playable map.
- Launch first client.
- Launch second client.
- Alt tab to first client. You can’t do anything on first client.
I have used the c++ ThirdPersonTemplate
Some additional oddities:
- I can run X number of clients with perfect input, though the first client always breaks once a second joins.
- If I close client #2 the pawn will disappear, but if I close client #1 (with broken input) the pawn remains in the server
- If I close client #1 (with broken input) then open a new client, client #2 will now have broken input. First in first out, one client always has broken input.
Any suggestions? Thanks in advance!
A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
[2]: One client does not receive input, when launching two clients on the same machine and server - Programming & Scripting - Epic Developer Community Forums