Your videos are really good so far! I expect your channel will get really popular if you keep this up. I especially appreciate the short, concise overviews, instead of having to sit through an hour long video
FreedomCode has some great tutorials on Unity netcode and Blackthornprod has gret tutorials for Photon Server (multiplayer solution thats VERY good) The free version has host up to 100 concurrent players
Also, quite surprisingly even though everyone thinks im a nerd at school, this did kinda make everyone want to be my friend, cuz then they could "Test" my game during class as opposed to working.
I agree with the others here. Pls do a tutorial on multiplayer. Just detailed enough to reproduce the Base Concept. I started learning c # last year and I am far away from doing multiplayer stuff. Would highly appreciate your affort 🙏
Other comment from me again; I just looked at your profile, and noticed you did tutorials that I will need for my future projects! (I have subscribed! Thank you!!!)
Hey, I love your tutorials! I might suggest showing how to input a ip address to show how to use it in a realistic way so you can play on the same subnet, because I followed this for my unity multiplayer game in 3d, but that was a major thing that this lacked, showing how to create a basic starting screen, and being able to input an ip adress
Thank you very much! I would suggest using Unity Relay instead, I have a tutorial on that! It is not very often you make games today where you play on the same subnet or have to enter a specific IP address.
Hii I see your video and another video I'm programmer inC# 3years now but I never try multiplayer but I did like you do and all work goi but I do in my code player code network and do that in I don't remember but the host is only working. The other not work I click on that is reloading and back
I used a package called ParrelSync (The text says it in the ending). Today I would have used Multiplayer PlayMode thou, I think its good enough and can start multiple clients when pressing play
@@rootbindev This little video made me pick up Unity networking, Server/client RPC's and Facepunch / Steam Matchmaking, then i ran into some graphic limits / issues, so in turn made me pick up Unreal Engine, node based coding and its network replication. Please keep doing what you are doing, you underestimate what you are sparking up :)
Dude this is amazing. If you did a more detailed tutorial, even just 20 minutes that covers how to set up stuff like login, authentication, matchmaking, that would be amazing.
@@rootbindev Thanks for the quick reply! I just watched your Unity Relay video as well. Is that setup fundamentally different from this video? This video seems like it is server authoritative, am I correct?
@@AaronAsherRandall this video is about unity netcode in general, Relay is how you can use unity netcode to create and join games on unity servers, without the need of port forwarding etc
I love the video format, I would love to know how to setup a lobby with codes but can't really get it working or to understand these videos out there ;(
What version U using? This not find me the network EDIT: I found the Netcode In the pakage What Version did U use? "Netcode for gameobjects" or "Netcode for Entities"?
@rootbindev as i understanding, i dont have to write extra server codes right ?. I just need to build server side project and deploy it to my dedicated server machine right ?
@@bober3706 if you mean local as in on the same network you dont have to change anything. to make it public you could use unity relay, which i made another tutorial about
@@blackrachmaninov What do you mean by not realistic? There are plenty of games that do it this way. Also, even if you're using your own servers, this code is enough for that aswell. Just start the server and connect with different clients, there'sno tricky server-side part that isn't covered
Your videos are really good so far! I expect your channel will get really popular if you keep this up. I especially appreciate the short, concise overviews, instead of having to sit through an hour long video
@@streetpartying Thank you!
Damn you actually did a pretty decent job in 3 minutes!
Thank you very much!
Amazing video, would appreciate an extended tutorial.
will do! :)
Same, great and would like more and extended!
FreedomCode has some great tutorials on Unity netcode and Blackthornprod has gret tutorials for Photon Server (multiplayer solution thats VERY good)
The free version has host up to 100 concurrent players
Also, quite surprisingly even though everyone thinks im a nerd at school, this did kinda make everyone want to be my friend, cuz then they could "Test" my game during class as opposed to working.
Nerds are awesome!
I agree with the others here. Pls do a tutorial on multiplayer. Just detailed enough to reproduce the Base Concept. I started learning c # last year and I am far away from doing multiplayer stuff. Would highly appreciate your affort 🙏
Thank you i might do that soon!
@@rootbindev thank you my mate 👌
Pretty cool that it is in Unity 6!
thank you!
Amazing and super clear tutorial. I have experience with ue5 networking and I wanted a straight forward guide on how to do it in unity
thank you, I'm glad I could help!
2:58 Twist ending!
😄
Other comment from me again;
I just looked at your profile, and noticed you did tutorials that I will need for my future projects!
(I have subscribed! Thank you!!!)
thank you very much!
So many of us developers have that same ending as this one 😂
Hey, I love your tutorials! I might suggest showing how to input a ip address to show how to use it in a realistic way so you can play on the same subnet, because I followed this for my unity multiplayer game in 3d, but that was a major thing that this lacked, showing how to create a basic starting screen, and being able to input an ip adress
Thank you very much! I would suggest using Unity Relay instead, I have a tutorial on that! It is not very often you make games today where you play on the same subnet or have to enter a specific IP address.
Hi, I've completed this section, but it's only for local multiplayer. Could you help convert it to online multiplayer, not local?
yes I can! either you can join my discord where I can help you, or you can watch my latest video about Unity Relay :)
What if you just used Photon? Do you know if i still have to do this?
If you use Photon you can ignore this tutorial. Photon is another networking library that is not the official Unity solution
@@rootbindev thank you for the reply
Hii I see your video and another video I'm programmer inC# 3years now but I never try multiplayer but I did like you do and all work goi but I do in my code player code network and do that in I don't remember but the host is only working. The other not work I click on that is reloading and back
How much does the server cost, or do I need one? And if it's free, how many players can join?
Depends on where you host it. If you host it yourself its free, if you use unity Relay its free until a certain amount of players, so it all depends
Nice video. Will you continue the Brotatolike series?
thank you! yes I will, but I might switch to Unity 6!
@@rootbindev fair enough. Maybe I will use it for this and maybe future projects too. Will you use the "Beta" one or wait for the LTS on
@@davitheking024 the preview version that released yesterday i think
Netcode Samples comes with a UI and everything you need to get this far. But thanks for the video
Thanks for the feedback, big D!
How do you make the player spawn on the start like photon does?
By assigning the player prefab to the player_prefab Field
@@rootbindev Idk how to do that im to stupid can you please make a quick short or video rq?
@@NovaStudios0 if you watch this video, i do it at 2:32
@@rootbindev But when i tested the game without being in the editor and in the full build it just froze
@@rootbindev Btw you should make a paintball (2D) Tutorial cuz I'm making a 2D paintball game, but I can't find any tutorials...
How did you add extra clients after starting the host?
Your cursor goes off screen when showing this.
I used a package called ParrelSync (The text says it in the ending). Today I would have used Multiplayer PlayMode thou, I think its good enough and can start multiple clients when pressing play
@@rootbindev The speed of this response just earned you a sub.
@@Lauwieeh 😅Thank you, I appreciate it!
@@rootbindev This little video made me pick up Unity networking, Server/client RPC's and Facepunch / Steam Matchmaking, then i ran into some graphic limits / issues, so in turn made me pick up Unreal Engine, node based coding and its network replication. Please keep doing what you are doing, you underestimate what you are sparking up :)
I heard that the server is the host's device, but im not sure, can i even replace photon with netcode?
@@_m.. you can choose if you want the server to be the hosts device or not
@@rootbindev is it for free?!
@@_m.. yes it is free
Great video. Thank you. I just subscribed
Would work to make a online cod?
@@stringbean5920 Netcode for gameobjects is not recommended for high intensity games, then you should use netcode for entities.
Dude this is amazing. If you did a more detailed tutorial, even just 20 minutes that covers how to set up stuff like login, authentication, matchmaking, that would be amazing.
Thank you very much! I Will do more tutorials soon
@@rootbindev Thanks for the quick reply! I just watched your Unity Relay video as well. Is that setup fundamentally different from this video? This video seems like it is server authoritative, am I correct?
@@AaronAsherRandall this video is about unity netcode in general, Relay is how you can use unity netcode to create and join games on unity servers, without the need of port forwarding etc
thats cool! but do you need to share your IP for that? looks like you do?
You don't have to share IP address, check out my latest video where I explain how you can use Relay instead :)
@@rootbindev then new question (if you know the answer)
Can i have more players online at the same time than with pun2 (free)?
I love the video format, I would love to know how to setup a lobby with codes but can't really get it working or to understand these videos out there ;(
Thank you! I might do a video explaining it
What version U using?
This not find me the network
EDIT: I found the Netcode In the pakage
What Version did U use? "Netcode for gameobjects" or "Netcode for Entities"?
I use netcode for gameobjects for this video
@@rootbindev THX
I am trying to make a simple mmorpg game. What are the prices of this library ?
@@d3zar Its free
@rootbindev as i understanding, i dont have to write extra server codes right ?. I just need to build server side project and deploy it to my dedicated server machine right ?
@@d3zar thats correct!
Thx for the video, i will be back soon
@@EvS444awesome!
quality content, i subbed!
thank you!
will 3D work with this?
Yes it does! :)
um... i dont have a network manager script... i also dont know how to make one or get one
You get one by installing the netcode for gameobjects package, as shown in 0:44 🙂
And yes, it works for 3D games aswell :)
Keep it up! Keep it up!
Thank's for your support!
It's a simple and amazing video. I don't know much about English, so I use automatic translation, can you add Korean subtitles?
Thank you very much! I dont know how to do that, I will try
@@rootbindev Thank you! 😀
thanks it helped alot
I'm glad I could help!
Would highly appreciate your affort
Unfortunately, no matter what I do, my player does not move
im sorry to hear that
aww that ending 😢
💔
Is it public server or just local
Your choice
@@rootbindev the method that you showed is for local or public. And where i can choose it
@@bober3706 if you mean local as in on the same network you dont have to change anything. to make it public you could use unity relay, which i made another tutorial about
where is the part with the server side? Thats the trickiest part by far :)
This handles the server and the client
The player who hosts the game is the server. no additional "server side" code is required
@@rootbindev Yes but thats not realistic :)
Multiplayer game companies all have theirs own servers
@@blackrachmaninov What do you mean by not realistic? There are plenty of games that do it this way. Also, even if you're using your own servers, this code is enough for that aswell. Just start the server and connect with different clients, there'sno tricky server-side part that isn't covered
@@rootbindev I mean that using a player as the host is not reliable at all :)
why would you ever set ServerAuthoritative to false? it opens the pandoras box to every cheater. (you really dont want to trust the client, ever.)
Correct, so it depends on what kind of game you are making. In a competetive game you are right
"they were not real friends"
😭
😭