Synchronizing Data between Clients/Server | Unity Multiplayer Tutorial

preview_player
Показать описание

In this video, we'll look at the features Mirror provides to synchronize data across clients/server for a multiplayer game in Unity using Mirror.

Introduction: 00:00
Network Identity: 01:58
Network Authority: 02:43
NetworkManager Callbacks: 04:10
NetworkBehaviour Callbacks: 10:30
Server/Client Functions: 11:10
Commands: 11:50
ClientRPCs: 16:50
TargetRPCs: 21:17
SyncVars: 24:42
Outro: 30:10
Рекомендации по теме
Комментарии
Автор

Love how the essentials are just, explained. Like why is every tutorial so spaced out and under-explained ? "just type this and this very specific function will work" this is a gem!!

publicalias
Автор

You basically started the best networking course for unity
keep it up <3

arin_faraj
Автор

I've been trying to wrap my head around this stuff for weeks and it turns out all I needed was this one 30 minute video. Thank you.

openpineapple
Автор

These Tutorials are incredible. I love how well structured and organized they are with the labeled sections. Keep it up!

brokenMikrophone
Автор

Liked, Subbed, Belled all the hola's. You got a great talent for explaining things. Please continue making great content like this!

tehuster
Автор

I'll definitely watch this tutorial again when I'll try things around!
Thanks man! :)

NoelTugy
Автор

Thanks so much, i was so lost in the mirror implementation, im a huge fan of your content, if i wasnt broke as and with a child i woul pay you for this. im sick of good tutorials giving limited information and asking for payment, im looking foward to make some money with my game, and i promise you will be in the credits for that :D

mauricioolavarria
Автор

Simple Incredible and definitely way to underrated! I've subbed from the bottom of my heart. You have made my day!

Ayyouboss
Автор

3 days trying to figure out how to send Commands without authority... wish I'd of gone through this series a bit earlier. Great tutorials a lot of information and looking forward to more. The information here is the most relevant I've seen on the subject and very informative

robertholl
Автор

Who the hell are those disliking these videos? Something is surely wrong with them.

These videos are so well made and concise.

nikilkumar
Автор

Great video, keep on the awesome work!

alexanderpaul
Автор

every other tutorial ive seen up till now has been just showing me what to do, but i dont care about all that, i wanna understand how everything works, how to use mirror on my own, this and the last are the first acctually useful tutorials, thank you, you helped me sooo much dude u have no idea <3

Edit: its been like 2 days ive been doing nothing but research to get started before ur videos

nickjasperr
Автор

I don't write comments often but this one deserved it.
Easily the most useful tutorial I've seen on Mirror, even compared to their own documentation! Quickly, cleanly and without confusion you explained all the things I needed to feel confident about what I'm working with. Earned a sub! :)

grey
Автор

These tutorials are the best multiplayer not only tutorials but even just explanations I've EVER SEEN. You're amazing.

Sagaan
Автор

Learned so much from your tutorial as someone who has zero knowledge on how multiplayer works! Thank you ! Very clear content

yiguanliu
Автор

These are the best multiplayer tutorials, period. Thank you again.

Just a little clarification on the [SyncVar] example, in case someone was confused like me. As the holaCount property is initialized in the player instances, there will be one holaCount property for each client, althought they have the same variable name. So if client 1, sends 10 holas, its holaCount will update and be sent to client 2, but client 2 will still have 0 holas.

If you add this to the OnHolaCountChanged() you will know of which client is the shown holaCount:
Debug.Log($"Player with NetID {netId} had sent {oldCount} holas, but now he has sent {newCount} holas.");

zyntist
Автор

WHO WOULD DISLIKE THIS SERIES IS GOING TO BE AWESOMEE

iksuddle
Автор

Real in-depth guide on Mirror. I was thinking about adding network support to one of my games but couldn't get to grips with it. After watching this video Im gonna give it another go and if it works I might even add network support to my current Game project. Thanks. 👍 Subbed

tauheedgamedev
Автор

Thank you so much! as a web developer i was searching for something like this for a while... i have to say: this is the best unity multiplayer tutorial that i ever seen. Subscribed!

yuribento
Автор

Man you are awesome! I am creating a multiplayer game and was just doing stuff without knowing how exactly it works. But now I am working like a boss 😂.

I have subscribed + turned on bell notification for not missing any video you upload. Hopefully I can complete what I have started 😀

nilla_studios
join shbcf.ru