You basically started the best networking course for unity keep it up
@nickjasperr3 жыл бұрын
i couldnt agree more
@publicalias81724 жыл бұрын
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!!
@tehuster4 жыл бұрын
Liked, Subbed, Belled all the hola's. You got a great talent for explaining things. Please continue making great content like this!
@openpineapple22053 жыл бұрын
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.
@brokenMikrophone4 жыл бұрын
These Tutorials are incredible. I love how well structured and organized they are with the labeled sections. Keep it up!
@mauricioolavarria64794 жыл бұрын
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
@ShrineApp4 жыл бұрын
no worries man I hope you build something great!
@zyntist3 жыл бұрын
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.");
@hoody42892 жыл бұрын
Thank you ! I was wondering why I wasn't getting the same amount on each...
@robertholl89144 жыл бұрын
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
@Ayyouboss4 жыл бұрын
Simple Incredible and definitely way to underrated! I've subbed from the bottom of my heart. You have made my day!
@alexanderpaul57754 жыл бұрын
Great video, keep on the awesome work!
@fillament3 жыл бұрын
i spend the whole weekend trying to make commands work. Now it works.
@iksuddle4 жыл бұрын
WHO WOULD DISLIKE THIS SERIES IS GOING TO BE AWESOMEE
@NoelTugy4 жыл бұрын
I'll definitely watch this tutorial again when I'll try things around! Thanks man! :)
@nickjasperr3 жыл бұрын
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
@grey36233 жыл бұрын
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! :)
@tauheedgamedev23884 жыл бұрын
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
@nikilkumar10004 жыл бұрын
Who the hell are those disliking these videos? Something is surely wrong with them. These videos are so well made and concise.
@eduardorabanal28034 жыл бұрын
great tutorial, I've already enabled the notifications, thanks a lot
@ゆかなえ3 жыл бұрын
Amazing! Best networking course! I have started writing unity for a month, and 2weeks with mirror. I have almost finished the single mode UI, but when I imported mirror, I MESSED UP so hard.... After watching this video, I start understanding the data Synchronization logic, THANKS!
@gamedevtitan50407 ай бұрын
The only mistake i could find in this video is that at 24:42 there is a ' ] ' missing after ClientRPC other than that the video is perfect.
@Sagaan423 жыл бұрын
These tutorials are the best multiplayer not only tutorials but even just explanations I've EVER SEEN. You're amazing.
@yiguanliu23184 жыл бұрын
Learned so much from your tutorial as someone who has zero knowledge on how multiplayer works! Thank you ! Very clear content
@Tr0janH0rs32 жыл бұрын
Thank you so much for this amazing tutorial! I was stuck because I didn't know how to use properly mirror but this tutorial helped me SO much.
@anselmx34 жыл бұрын
Liked and subscribed, it's amazing how you describe everything clearly and quickly. The visuals really help too, keep it up!
@yuribento3 жыл бұрын
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!
@Kromahtique3 жыл бұрын
Your explanations couldn't be more clear. Thank you so much for you work.
@cainen63553 жыл бұрын
This is a brilliant series! Very well structured and explained! Great work.
@siRrk13374 жыл бұрын
this is the best of all the tutorials on mirror i could find! by far. i think i can do with what you taught us, but i would be watching and linking additional entries to the series :) for example, id like some common mechanics implemented, like players shooting at npcs and each other. basicly principles on where and how to use commands and rpc!
@nilla_studios4 жыл бұрын
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 😀
@Exori4 жыл бұрын
Amazing for someone with dev experience who wants a kickstart into multiplayer dev in Unity, please continue, I love the videos.
@fernanlaracapito59613 жыл бұрын
Thank you, the best mirror networking tutorial !
@TheDaKSn4 жыл бұрын
Really well made. Subbed! Keep it up!
@HelPfeffer4 жыл бұрын
I love this serie. Thank you, this helps me A LOT.
@RugbugRedfern4 жыл бұрын
Thank you so much! This is amazing, and exactly what I needed. A sub for you!
@drummsnikk50733 жыл бұрын
Keep this up man, it's really incredible!
@NETRUNNER_034 жыл бұрын
I cant describe how amazing this is. Thank you Thank you Thank you!
@glenzhang36464 жыл бұрын
Super great video, looking forward to more
@alexleonardkrea3 жыл бұрын
I wish I could like this more than once! All of these tutorials are top notch! I'm now subscribed for anything you feel up to releasing in the future. Thank you for putting the time in on this!
@noscopeowl46533 жыл бұрын
You are amazing, really blew my mind how a 30 min video could teach me so much
@harrydavies65314 жыл бұрын
Really good series and very useful. You’ve got potential man and I can see you becoming a big game dev youtuber one day
@suryanshkulshreshtha40954 жыл бұрын
I love how you give time for part its a time saver
@antoniodiaz46032 жыл бұрын
great stuff. Can't wait for serialization, it seems very useful
@philipp32504 жыл бұрын
That's hands down the best Unity Mirror tutorial series out there. Hope you'll get more attention in the future so that you stay motivated to provide more of these brilliant videos for us.
@amadhia4 жыл бұрын
FANTASTIC tutorial in every regard! Thank you so much for creating such a top-notch tutorial! I’m looking forward to watching the rest in your series!
@Future_Guy2 жыл бұрын
Learning a lot about Mirror from these. My only wish is that the example you give for the various tagged methods, they happen across multiple clients and not just one client and server. For example, regarding the TargetRPC tag, I want to see the behaviour of a different client when pressing the X key.
@mrhandy17844 жыл бұрын
Love the tutorials! Super helpful and educational. I am trying to build my first multiplayer game and these videos are a lifesaver. Cant wait for the next one! :)
@richardstevenson3713 жыл бұрын
This video... is amazing. Feels like I'm getting a proper lecture that I would pay for. Subscribed for sure! : )
@matthewwoodc03 жыл бұрын
Wow. All I can say. This is a fantastic tutorial, could be the best one out there!
@thesporehero3 жыл бұрын
Thanks, great tutorial! This helped me past a bit of a networking brick wall in something I was working on
@CarlosHernandez-gv8sn3 жыл бұрын
One of the best, simplest, and easiest to understand Mirror networking tutorial out there. Having said that, I am having difficulty with Instantiation. Could you do a video on instantiating object and they’re specific Authority / updating all clients?
@kankurokano39263 жыл бұрын
The tutorials that you make are the only tutorials on youtube that teach just the basics of Mirror in a really simple and understandable way Great Job If possible could you make a tutorial on making rooms and matchmaking?
@Whaiitran31064 жыл бұрын
impressive class! you made a such complex thing like this looks like so simple! thanks!
@RogueWorlds4 жыл бұрын
awww yeah, give me that multiplayer juice!
@icebrn4 жыл бұрын
I love these multiplayer videos. Keep up with the good work
@andrey30613 жыл бұрын
You explain to me that I try to understand for a week, thanks!!!!!
@midniteoilsoftware4 жыл бұрын
Another excellent video. I’m looking forward to the next one.
@asfand69044 жыл бұрын
Great series bud, keep em coming!
@randyh37613 жыл бұрын
Great content! Love your examples and explanations
@techmaster903 жыл бұрын
This is very well made and you explain things clearly.
@christinanorman41448 ай бұрын
This is such a great video!
@muhammedemen51229 ай бұрын
the contents you produce are unique. why don't you keep producing videos. people need you.
@Crocofrozen4 жыл бұрын
Very good explanation, great youtube channel !! I can't wait to see the next videos !!
@tatomarinelli79374 жыл бұрын
Amazing tutorials! Greetings from Argentina 🇦🇷
@brucescott71563 жыл бұрын
I need more of this, it's so good
@edwardkarra60274 жыл бұрын
you are just... GREAT! Thanks!
@stevengibson47732 жыл бұрын
Having trouble as the docs don't seem to specify the answer to this. The tutorial looks a tad out of date. This callback no longer seems to exist public override void OnClientConnect(NetworkConnection conn) it looks like it throws an error for not existing. I looked at the docs and there looks like a virtual method, but it doesn't seem to behave the same way. Any ideas how to move forward?
@caindallm97462 жыл бұрын
hey, i got the same issue, have you found any solutions mate ?
@oriongames1211 Жыл бұрын
That wont work because its NetworkClient.connection is a static class. OnClientConnect doesnt take any parameters. I was able to get this to work by doing the following. public override void OnClientConnect() { base.OnClientConnect(); Debug.Log("Connected to Server!"); } public override void OnClientDisconnect() { base.OnClientDisconnect(); Debug.Log("Disconnected from Server!"); }
@BudPuen Жыл бұрын
@@oriongames1211 You save my day mate.
@ahmedthegreat39733 жыл бұрын
25:13 You Forgot A Close Bracket "]" After ClientRpc. BTW I LOVE THESE VIDEOS. VERY DETAILED. Subscribed
@piztech51683 жыл бұрын
29:31 The holaCount value doesn't stack together in the server when you press X on different clients. When I press X in 1st client, it starts adding 1 until I reach 10 for example, but when I press X in 2nd client then holaCount value starts from 1 or goes back to 1, the holaCount should be 11 to all clients by that time. Isn't SyncVar supposed to update the variable's value to all clients and the clients can add by 1 each time they press X and continue to keep stacking in the server? Idk why this happens and it's not making any sense
@danielemessina19793 жыл бұрын
having the same issue here, did you find the explanation? EDIT: I get it now, the sync var is shared and sync'ed among the instances of the same object across server and clients, but two objects, like the two players, will each have its own, it's not like a static class variable. So what we see is holaCount for player 1 and holaCount for player 2.
@piztech51683 жыл бұрын
@@danielemessina1979 I forgot to edit this comment, I moved to MLAPI networking. And before that, I just thought it had the same system as Roblox Networking where u sync 1 variable and it would automatically sync to all. In MLAPI, I solved this by doing an "if this is server then variable is incremented" condition after you send the signal from client to server. MLAPI is not much different from Mirror so give it a try.
@mickmickymick69273 жыл бұрын
A tutorial I can actually understand. I only see one more video, I really hope you didn't stop this prematurely cause it's much easier to follow than Tom Weiland's one and goes further than Dapper Dino's one.
@nootherkyle3 жыл бұрын
Admit it its the most explained networking tutorial..
@xGAMER-xc4tm4 жыл бұрын
im an absolute beginner but u rly gived me a lot of informations :DDD
@mahdiruzmeh78624 жыл бұрын
thank was very helpful. keep continue
@Celcious4 жыл бұрын
just love this channel.
@JimboS1ice9992 жыл бұрын
please continue this series!
@nefuzo627 Жыл бұрын
Nice video, helped a lot :D
@chatbear694 жыл бұрын
Love your videos and how you explain the details and the implementation of the code. When you get a chance could you make a short video on how to create a custom GUI for the multiplayer. That would give me, and maybe others, the next step in completing a game. Thanks for your time and expert advise on getting things up and running.
@xGAMER-xc4tm4 жыл бұрын
thx dude yu rly helped me a lot :)))
@theholycity74984 жыл бұрын
This video is very informative and well- explained, very helpful! Will you be making more tutorials on Mirror in the future still? I noticed it has been a while since you posted any.
@NLPIsrael Жыл бұрын
not sure if you are the adress for my question but i wonder how can i call simple events from one sciprt to another - if i want ti add listeners and invoke a message i discover the listenr is not getting the event. i usepublic static class EventsManagerand i put there all the relveant actions and it worked - untill netocde...
@gabrieldj8191 Жыл бұрын
I have a problem with synchronizing the player itself. I am using the karlson movement script (rigidbody) and every time a client joins a Host (Client + Server) It blacks out the clients view and causes the Host To be in control of the other rigidbody character. This is weird, I also have Network Rigidbody and Network Transform
@somedevstuff50604 жыл бұрын
Awesome tutorial
@harunakdogan413 жыл бұрын
Nice tutorial!
@potatolegacy2 жыл бұрын
ur a life saver man thx
@12457p2 жыл бұрын
I want to say thank you Senpai
@keepinitreal5513 жыл бұрын
For some reason OnClientConnect and OnDlientDisconnect does not appear as an option for me. Has this changed?
@oneeypi3 жыл бұрын
Check if you inherited from NetworkBehaviour instead of NetworkManager
@noobsaibot76883 жыл бұрын
in commands section when i press x only the host receives the msg from the method Hola() + when i press x in the second unity editor the msg exectutes in the host .. need help please .
@Zihenroy2 жыл бұрын
So syncvar alone is not enough to sync player hp? Since player hp is on client not server? Cuz mines are synced without hook. What did i misunderstan?
@Hazuuur2 жыл бұрын
Hello, I facing issue with synchronization in my project. I have interaction system where player must look at target and then press 'E', so it works fine when host tries to do that. But if you are a client it works only when host loot at target, client press 'E' and event happens on host's target, not client. I tried to use [Command] [Client] [Server] in different places but problem is always the same. Maybe someone has any clue where I made mistake.
@moe96474 жыл бұрын
amazing work
@techmaster903 жыл бұрын
Can I sync "Collision2D x" using a command and then a SynVar with a Hook and then a ClientOnly Method? I get an error. I don't think I can pass in the new Collision2D value in the the client method. How can I do this?
@vader7773 жыл бұрын
So would you say that sync vars would be the best to keep track of the transforms/actions of AI agents in a game?
@petsiskonstantinos1347 Жыл бұрын
@Shrine what if i want to call a [Command] from an object that is not a Player???
@arandomrcreature3 жыл бұрын
idk if its in this video, but how would I call a function from a spawned prefab?
@shivamchauhan26734 жыл бұрын
You are amazing!!
@jayantbarthwal44703 жыл бұрын
how to syncVar from client to server .(if i want to send my player input to server to perform some movement )??
@BluePhantomStudio3 жыл бұрын
Ok So I understood what u said but I m confused that which rpc to use to show projectiles and flash to other clients
@blue_lobster_3 жыл бұрын
Wow that's awesome
@_zero93433 жыл бұрын
So say I instantiate a game object with its own Network identity using the host's scene. The client then joins the game, but the game object (fallen tree) is not instantiated because it does not exist for the client. The initial code for the instantiation was on the tree controller which is now destroyed. Is there a solution to this issue? My only thoughts were the following: leave the tree controller running, and allow the fallen tree to remain a child of the gameobject... or perhaps store a list of all the possible fallen trees on a serverside controller, which then instantiates all fallen trees when the player joins. Has anyone else run into a situation like this? Any suggestions?
@r.iyushofficial53183 жыл бұрын
How to communicate between client1 to client 2
@MrQQtis3 жыл бұрын
Lets just say I want to register players for event. I need 5 players from whole server. They are on different scenes. Can't see each other. They click button to register and plays there own game till event start. Is there any way to notify registered players without sending message to all players on server?