I followed every youtube video,twitch livestream ( Multiplayer Shootout)
and I had no luck with Host and join session.Hosting is working,searching is working but joining is not. Please help
Please create a fresh project and creste your own GameMode and PlayerController. Then add 2 Key press events, like H and J. Behind H, you simply put the host logic, like creating session and opening a Level (can open the same Level or just leave that out).
Behind J, you search for a session, check if it s > 0 and join the Get 0 of the result Array.
Don’t create anything else and don’t change anything!
Now start the Game with 2 Players. In the server window (which is normaly the editor one) press H and wait a few sec. In the additional window, press J.
I set host and join to Not replicated and this time I did not used For each loop and it did not work.I can see how many players are in session,name of the session but I can t join.
Thanks for the help
Edit: I have the same problem with Multiplayer Shootout game.
Also make sure that you try to create a server with the original server and join with the original client.
Because in the Editor, if you start with 2 or more Players, they will directly have a network connection.
I had problems in the past when i wanted to let the Client create a server and the Server join it.