Hosting and Joining Multiplayer Games | Multiplayer Tutorial Series | Unreal Engine 5



👨‍🏫 My Patreon link:
https://www.patreon.com/kekdot
Download Project Files | Premium Tutorials | Courses

💦 Get our Game on Steam | Kekdot Center:
https://store.steampowered.com/app/1487180/Kekdot_Center/

🧑🏻‍🚀Get the project files here on Patreon: https://www.patreon.com/posts/hosting-joining-66351331

In this video we take a look at how we can Host and Join multiplayer games using the Session nodes from the Default Online Subsystem integrated in Unreal Engine.

We also go over what an Online Subsystem is, and which different Online Subsystems are available for us.

Everything covered in the video is done in Unreal Engine 5, and by using blueprints.

Video timestamps:
00:00 – Intro to video
00:25 – Overview of result
00:56 – Explanation of Sessions / OnlineSubsystems
07:43 – Taking a look at the Unreal Engine Session nodes
08:47 – How to Host a Game (Create Session node)
11:10 – Finding and Joining a game (Find Session, Join Session nodes)
16:47 – Leaving a game (Destroy session node)
18:07 – Outro

🌐Links used in the video:
Online subsystem documentation:
https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Online/

Steam Advanced Sessions Plugin:
https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/3022

Playfab Game Backend service:
https://playfab.com/

#UnrealEngine #Multiplayer #Sessions

Welcome to Kekdot!

👨‍🏫 Our Patreon – Download Project Files | Premium Tutorials | Courses:
https://www.patreon.com/kekdot

🛒 Our Unreal Engine Marketplace Templates:
https://www.unrealengine.com/marketplace/en-US/profile/KekdotYoutube

👾Join our Discord:
https://discord.gg/KfVEGKtrkG

📆 We upload videos on a weekly basis

📰 Follow us on:
Instragram: @kekdotyoutube
Twitter: @kekdot
Reddit: @kekdot

source

Related posts

TOP 10 BEST PS5 Games to Play in 2024

15 PRÓXIMOS JUEGOS que llegarán a XBOX en 2024 y 2025 ✅

Resident Evil 4 Remake Review

38 comments

@Kekdot April 1, 2024 - 11:17 am
Hey guys,

👨‍🏫 My Patreon link:
https://www.patreon.com/kekdot
Download Project Files | Premium Tutorials | Courses

💦 Get our Game on Steam | Kekdot Center:
https://store.steampowered.com/app/1487180/Kekdot_Center/
@LuizGamingYT April 1, 2024 - 11:17 am
Can I use Online Subsystem for dedicated server with open world map like MMO?
@CringingDragon April 1, 2024 - 11:17 am
I Have everything working save for joining the actual game. Both players can load up the game, start it with steam overlay, all plugins and subsystems set, even got the markers that greyed out the steam subsystem from working. But still cant join the session after its created. Does anyone have any advice or know of reasons the online would not be working through steam at this point? Im even using the advanced sessions versions of create and find sessions. Any help would be appreciated
@CringingDragon April 1, 2024 - 11:17 am
Im confused how the create WB Join Session widget has a search result pin. If anyone knows how to make that happen I'd really like to know.
@wiktorwicek3100 April 1, 2024 - 11:17 am
Czy na First Person też działa?
Does it also work on First Person?
@mobildisko579 April 1, 2024 - 11:17 am
2:45 Why is there so much ping even though it's a local network?
@abdiasnemo2634 April 1, 2024 - 11:17 am
I need help. I ve been following the tutorial play list and everything was working fine. Now today is not working anymore. I can host sessions but when I go join it doesn't join. I can find the session but when clicking join it does nothing. I added print srings and when clicking join it goes to failure. What can I do? Today I was working on the game modes for my map. I try to change it back but the problem still presists.
@herogamesstudio April 1, 2024 - 11:17 am
You are amazing, perfect explanation and so simple!
@elganzandere April 1, 2024 - 11:17 am
What if you want only one Session?
@has_j April 1, 2024 - 11:17 am
when I do this and build the project it works with LAN only and friends that are not in my house cant join
@UrbexUS April 1, 2024 - 11:17 am
Would this be the best way to truly test how the multiplayer game is functioning and how replication is being handled? Rather than testing as listen server?
@orangeaedan7264 April 1, 2024 - 11:17 am
Great video! It’s a really good tutorial and really helped me out. Just 1 question is, how can i make skins work. When someone joins it’s just the default skin.
@jonda_mc April 1, 2024 - 11:17 am
do I have to open a port in the firewall? because I tried to connect with my friends via Hamachi and it didn't work even when I tried via lan network. so i have to open that port?
@Mr2Trickyy April 1, 2024 - 11:17 am
Works great however I am having one problem, I made my leave session button bring up like a pause menu for added context. when the host leaves both host and client are put back to main menu fine, the host is normal but the client that was forced out and didn't leave by clicking the button cannot interact with anything. It looks like the buttons like create and join work but nothing happens, weird this is it is possible to search for a server just not join or create? any ideas on a fix? Maybe a problem with the pause menu being brought up and using 'set Input Mode Game And UI' and back to 'Set Input Mode Game Only'?
@SupernovaOneFourOne April 1, 2024 - 11:17 am
Super easy to understand thank you so much
@christiang1 April 1, 2024 - 11:17 am
idk what people are talking about this is hard to follow and doesnt really tell you how to actually implement it, more so just tells you how it works which isnt really helpful. then instead of just publically posting the project files, he puts it behind a paywall. not helpful for me at least
@Rduino April 1, 2024 - 11:17 am
do onlinesubsystems from game distributors like facebook/meta cost money?
@crisprvideogameofficial April 1, 2024 - 11:17 am
For anyone else running into this issue...inside the WB_CreateSession Widget, where the text from the OnTextChanged Event gets converted into an Integer I was having an issue where the text wouldn't convert. To fix this, pull out of the text variable and search for 'tostring', then plug the resulting wire into the Public Connections variable and it will convert. 👍
@zdroid5818 April 1, 2024 - 11:17 am
another question i can find server that where ticked to be on lan while unticking find land while searching how do i fix this
@ph11n1x April 1, 2024 - 11:17 am
If only tutorials would be this good on the average! Excellent work my man.
@movte April 1, 2024 - 11:17 am
man this video is now 1 year old and its still so helpful. Ty man ! Do you have on patreon other courses aswell or do you have full courses to download. When i watch your video in fullscreen the top left message is annyoing at some points. Or are you on udemy or on an other learning site?
@K3rhos April 1, 2024 - 11:17 am
I'm still learning about multiplayer on Unreal Engine, but question here, is it possible to instead make the client not worrying about the sessions system, like no sesions list, let me explain:

When a player launch the game, he simply click on "Play 'Name Of My Game'", and the game try to find an already hosted session on the network, if one is found (and not full) you put the client into the game but if no sessions has been found, its automatically hosting a new session !

Also it could be cool if the session could "swap host", if the player that created the session leave but another player is still in the session, this other player become the new host of this session !

Pretty sure all of that is possible, but I don't know if the built-in sessions system of UE is capable of doing that.

Thx for the video, it was very useful.
@joshmoore3785 April 1, 2024 - 11:17 am
so if i just made this would it work online not just LAN or would i have. to intergrate EOS etc.
@adam4designss April 1, 2024 - 11:17 am
HOW I ADD TAG NAME FOR ALL PLAYERS,IDO,IT ,BUT IN CLINET DOESNOT APPER THA NAME BUT SERVER IS OK
@lucabaldi2034 April 1, 2024 - 11:17 am
I followed everything but when i click on creat it does not move me to the game map...
@thehungrymonk17 April 1, 2024 - 11:17 am
I created a template game then followed this tutorial. I packaged the project and ran the game on both my desktop and laptop. I can create and join a session when the 2 devices are on the same network . But When the devices are on 2 different networks , I can create a session , but the other device is unable to have the session pop up in the menu so I'm unable to join.

Can anyone help with why I might be running into this issue? or point me in the right direction? Thanks :)
@johndavidtaylo9725 April 1, 2024 - 11:17 am
Somehow i cant connect my 2 get player controller on find session and create join session widget for find session widget graph any idea guys ? thanks for the help
blue print refference 14:00 minutes on video
@EdgarTheOnion April 1, 2024 - 11:17 am
SESSIONS
@KillerSneak April 1, 2024 - 11:17 am
How would you take your lobby as a ”fireteam/squad” from your own lobby (with its own session) to a dedicated server (new session) its the one thing I can’t wrap my head around. How do you get your squad from the lobby to the server as a whole (all 4 need to connect to the dedicated server and need to be/stay your fireteam/squad as well)
@giannisigona5830 April 1, 2024 - 11:17 am
I’m a beginner and I’m trying to get my first game finished, I have packaged my game for windows and put it on 2 computers but it doesn’t see the seasons I don’t know why any help would be appreciated thanks
@user-cb5ou8eh4i April 1, 2024 - 11:17 am
Is there a video from you or any other youtube channel that shows how the Sessions Demo is created? i am pritty new to UE5 and cant seem to get this working. The Demo blueprint i think combines all the created blueprints. But how do i create that one?

The rest of the video was verry clear and relatable!!
@mahamasamataman3087 April 1, 2024 - 11:17 am
Thank you for this info-packed tutorial. I can see that it has a lot (I mean a LOT) of info; but I am not yet familiar enough to be able to grasp most of what you are doing. For me, I need to start from "You jus downloaded the Unreal engine...." rather than "... and then download this compete project ...." I feel the need to know the steps in between.. how to make that template project ... and it parts... why each of them is there... Yes, artwork will have to be acquired (I would love to see videos on how to do that too); but I am hopeful to see how to do all of this from scratch.... You don't have to do it, it could be pointers to other people's work if there exists videos that explain it all already.... Thank you for your time....
@wiktoriapoch2679 April 1, 2024 - 11:17 am
If anyone has problems with opening the map while hosting or joining the session, try to open level by reference, instead of open level by name
@commandconquer5338 April 1, 2024 - 11:17 am
this isn't a tutorial, it's a showoff-case
@tr1n1ty77 April 1, 2024 - 11:17 am
Thank you!
@Luca-yq5ux April 1, 2024 - 11:17 am
kekdot the goat for best practise mp
@zainophrenicgaming2727 April 1, 2024 - 11:17 am
Can you do the Video for Private host, mean only me & My friend can play no Outsider , or some kind of code like AmongUs...
@DimitryArsenev April 1, 2024 - 11:17 am
I dunno why is need? Unreal already have Dedicated server, not need to do this.

Comments are closed.

Add Comment