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

preview_player
Показать описание
👨‍🏫 My Patreon link:
Download Project Files | Premium Tutorials | Courses

🕹️ Get our Game on Steam | The Anomaly Project:

---

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:

Steam Advanced Sessions Plugin:

Playfab Game Backend service:

#UnrealEngine #Multiplayer #Sessions

---

Welcome to Kekdot!

👨‍🏫 Our Patreon - Download Project Files | Premium Tutorials | Courses:

🛒 Our Unreal Engine Marketplace Templates:

👾Join our Discord:

📆 We upload videos on a weekly basis

📰 Follow us on:
Instragram: @kekdotyoutube
Twitter: @kekdot
Reddit: @kekdot
Рекомендации по теме
Комментарии
Автор

Hey guys,

👨‍🏫 My Patreon link:
Download Project Files | Premium Tutorials | Courses

💦 Get our Game on Steam | Kekdot Center:

Kekdot
Автор

Can you help me create the sessionDemo widget as you missed it out in the video please?
Without it nothing works!

samuelbowers
Автор

when I do this and build the project it works with LAN only and friends that are not in my house cant join

has_j
Автор

I want my next game to have a multiplayer option. I also want to release on Epic and Steam. I know I would need to use the Epic subsystem when someone buys on the Epic Games Store. And when a player purchases it in Steam I need to use the Steam subsystem. This may be covered in a future video in this series, or later in this video, I paused to make this comment. I have been looking around for a way to tell if the game is running in the Epic store or Steam store so I can use the appropriate subsystem. How can I do this? Edit - this isn't needed. Just using the general plugin will detect for you Steam or Epic.

jasoncrosby
Автор

i have a issue with using the default subsytem i cant find a asnwer does it work over wan or not i understand that server browser wont work but i cant even connect with direct ip, it all works on lan and browser, but over wan even with ports forwarded and verfiied they are open clients still cant connect?
does the default subsystem only work over LAN?

worbarry
Автор

what if you dont want the players to join the session when you are already in game, and how do you lock a session with a password ?

arengnightcore
Автор

Amazing tutorial. This has got to be on of the finest tutorials I've seen yet. You sir are meant to be an Unreal Instructor and make millions. Can't wait to see your next.

pinklloyd
Автор

You didn't show us the WB_SessionDemo. I don't understand how you made all the widget appear on the main menu since you didn't use the one we created.

FraPzsz
Автор

I spent twelve hours perfecting this code trying to figure out why my controllers aren't possessing pawns. That's three days for a hobbyist like myself. Well, the answer was that I forgot to change the input mode back to game after you click the host lobby button. I was so excited when I figured that out ; I then spent three more hours trying to figure out I have to do the same thing on the join lobby button. This is why I keep my day job!

dakotayocom
Автор

A bit confused. If you would have that Game there packaged and on 2 seperate PCs in 2 seperate countries, would that work? Could they connect?
It just feels like there is something missing.
If i wanted to make a Game where everyone could Host a session, would that work?

I have set up such a system and a game before, never tried if it actually works because i thought it cant be that easy.

kippe
Автор

im failing to find sessions immediately im not sure why, i had this working months ago and now its not

ECAKJ
Автор

HOW I ADD TAG NAME FOR ALL PLAYERS, IDO, IT, BUT IN CLINET DOESNOT APPER THA NAME BUT SERVER IS OK

adamdesignss
Автор

Hello i have a one question. If i share this game to my friends can they join and it works?

SK.
Автор

idk if im just retarded or my unreal just broken but when i press play they widgets dont show up at all and cant find any info on why or what im doing wrong :(

xprogrunds
Автор

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
Автор

If only tutorials would be this good on the average! Excellent work my man.

phnx
Автор

Love it.
Please continue this series.

michaelsparkson
Автор

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

wiktoriapoch
Автор

You are legendary. Please keep going. I will support you

speedwaylabsdev
Автор

Great Tutorial! but I ran into a problem.
I can't seem to find the session on another pc.
it works fine in the editor when I open 2 new editor windows but not when I use another PC.
I am using unreal 5.4.2 and I followed all of the steps on this tutorial on a new project.

plank