💬Netcode for Entities! One of the most requested topics, after quite a bit of research here is a super detailed tutorial, I hope you learn a lot! 🌍 FREE 7 HOUR DOTS Course! ruclips.net/video/1gSnTlUjs-s/видео.html ✅ FREE Game Dev Report Newsletter - cmonkey.co/gamedevreportnewsletter 📝 Get my C# Complete Course! cmonkey.co/csharpcourse 🔴 RELATED VIDEOS 🔴 Learn Unity DOTS! (FREE Tutorial Course) ruclips.net/video/1gSnTlUjs-s/видео.html EXTREME PERFORMANCE with Unity DOTS! (ECS, Job System, Burst, Hybrid Game Objects) ruclips.net/video/4ZYn9sR3btg/видео.html Making MULTIPLAYER Games has never been EASIER! ruclips.net/video/PCd3yp_VZ-c/видео.html The FASTEST TOOLS in the World! (Unity DOTS Asset Review, Animation, Pathfinding) ruclips.net/video/ehDbwr7PyJ4/видео.html Learn C# FREE Tutorial Course Beginner to Advanced! [2024 - 12 HOURS] ruclips.net/video/qZpMX8Re_2Q/видео.html Flow Field Pathfinding in Unity DOTS! (INSANELY FAST! 15 NEW Lectures) ruclips.net/video/xV0pFUAb7wc/видео.html
The server side prediction looks so good! I was literally working with Photon today and wow, the demo you showed basically knocks what I was working on out of the water!
you are creating great courses and they all are free, meanwhile i still see people complain about little things in comments. i just wanted to thank you mr monkey, you are a hero
This is amazing content. I definitely recommend the full DOTS course by the way, if you’re wondering if it’s worth it, I really believe it is. So much effort has been put in just like everything by Hugo it is easy to understand and there is a lot of back of forth in the comments under each lesson. I don’t think I’ve seen a more involved teacher Looking forward to every next tutorial you put out, I’m so impressed with the quality and how much you simplify very complex concepts
This is crazy Code Monkey! Two hours ago i was thinking about if Unity netcode for entities would be a good fit for our future game, or if i should look into Photon or something else. So it’s obvious that you’re reading my mind! Thanks, now i will enjoy the video! 😅
Found my old project made with Photon PUN2 and was going to remake it with Netcode for Entities but it was still in beta and there where no tutorials on how to start with it. And this has come at the perfect time.
Oh Wow, thats what ive been looking for, i am decent at coding dots but didnt look into netcode for dots till now. Nice to see a good video on that powerfull tool
We recently started studying Netcode for Entities, and aside from the official documentation, this is the best tutorial I’ve seen-it clarified a few things for me. I just wish you had gone into more detail about session management with Relay, which I find essential for a game. I hope you’ll cover it in the future, as we spent quite a bit of time figuring it out ourselves.
I'm glad you like the video! By session management you mean just the connection? I looked briefly at that sample and it seemed pretty straightforward, I'll look into it some more
@@CodeMonkeyUnity Sorry, I wasn't very clear. I meant managing a scene prior to the game where players can choose from a list of sessions and decide where to connect to play. This is seen in the widget package examples. I encountered a lot of problems once players had chosen the session and the game started. When loading a new scene, if not done correctly, the connection is lost or the clientworld loses the networkstreamdriver. Therefore, I believe that an in-depth exploration with some best practices could be beneficial for everyone who wants to use Netcode for Entities. I couldn't find any tutorial that addressed this aspect, which I consider important in the construction of a game.
Yeah it definitely is a bit tricky to get started, took me quite a while of reading the documentation and the samples to figure out how it works, I really hope this video helps!
Thank You Code Monkey. 💯👏🏻 I really appreciate it. This is Amazing... AAA Knowledge for free, and of course there's always the option to pay for premium content.
I'm going to research that right now. Basically you need to make the Units and Buildings into Ghosts, and just with that it should already be pretty good. Then make RPCs and GhostFields to synchronize all the other data. I'm hoping it won't be too difficult so I'll be able to make a few lectures on it.
Thanks very much for always teaching us what we want. I have a question, I haven't went through the video yet, but in the overview match making wasn't mentioned. How can we include match making in netcode for entities? Thanks
Hey CodeMonkey, would be nice if you could explain the workflow of making game in a gaming company. I mean the steps from game design, art, programming, audio and so on.
Hi CodeMonkey, great tutorial once again. Not totally sure but could it be that your issue with the EntitiesSubscene not being loaded correctly is due to the fact that you are suppose to load it using a dedicated system so that it can actually "await" for the LoadSceneAsync to finish loading and react to the component stating that the subscene is loaded before moving on with the connection?
Hmm I haven't tried doing a stress test so not sure but technically yes Netcode Entities is meant to be much more capable than NGO. I would guess NGO's limit is around 20-50 network objects, (Unity themselves recommend 2 to 8 players + other objects) depending on how much they move/change state. Whereas I assume Netcode Entities should be able to handle hundreds
If you setup NAT and your firewall then yes. Otherwise you need to use something like Relay to bypass the firewall ruclips.net/video/msPNJ2cxWfw/видео.html
Sadly no I don't think so, at least I didn't see any mention in the docs. It's possible but you'd have to handle it yourself, set up a Lobby and if the host disconnects define another player to be the new Host and start the connection again
Since it's been available, it's an excellent tool that helps me spend more time on the content of the video itself as opposed to making thumbnails (which I hate doing)
Someone at unity is hovering their finger over the “deprecate current networking api” button and is just waiting for me to start following this tutorial.
The only networking API they have deprecated was UNET almost 10 years ago, so I would say don't worry about that Or if you want go use Netcode for Game Objects, it has already been around for 5 years and is continually getting updates, it's not going anywhere.
Why? It's an excellent tool that helps me make much better thumbnails than I could draw myself, and it helps me save time so that I can spend that time on the thing that actually matters, the content of the video itself
@@CodeMonkeyUnityi do not use unity but it is ok. But unity corp isnt sadly, at least for now. Btw, i got addicted to creating pixel roguelike recently 😅
Yup it's an excellent tool that allows me to spend more time on what actually matters, the content in the video, as opposed to the thumbnail which I hate doing
💬Netcode for Entities! One of the most requested topics, after quite a bit of research here is a super detailed tutorial, I hope you learn a lot!
🌍 FREE 7 HOUR DOTS Course! ruclips.net/video/1gSnTlUjs-s/видео.html
✅ FREE Game Dev Report Newsletter - cmonkey.co/gamedevreportnewsletter
📝 Get my C# Complete Course! cmonkey.co/csharpcourse
🔴 RELATED VIDEOS 🔴
Learn Unity DOTS! (FREE Tutorial Course) ruclips.net/video/1gSnTlUjs-s/видео.html
EXTREME PERFORMANCE with Unity DOTS! (ECS, Job System, Burst, Hybrid Game Objects) ruclips.net/video/4ZYn9sR3btg/видео.html
Making MULTIPLAYER Games has never been EASIER! ruclips.net/video/PCd3yp_VZ-c/видео.html
The FASTEST TOOLS in the World! (Unity DOTS Asset Review, Animation, Pathfinding) ruclips.net/video/ehDbwr7PyJ4/видео.html
Learn C# FREE Tutorial Course Beginner to Advanced! [2024 - 12 HOURS] ruclips.net/video/qZpMX8Re_2Q/видео.html
Flow Field Pathfinding in Unity DOTS! (INSANELY FAST! 15 NEW Lectures) ruclips.net/video/xV0pFUAb7wc/видео.html
The server side prediction looks so good! I was literally working with Photon today and wow, the demo you showed basically knocks what I was working on out of the water!
you are creating great courses and they all are free, meanwhile i still see people complain about little things in comments. i just wanted to thank you mr monkey, you are a hero
Thanks! I hope this video helps a lot of people learn!
He also have great Udemy courses that I can recommend.
HOLY SHIIIT!!! Been waiting for this for ages!🎉
I hope you learn a lot!
Thank you for making it only one hour long! What a pleasure it is to have an ability to scroll back when missed a single word!
This is amazing content. I definitely recommend the full DOTS course by the way, if you’re wondering if it’s worth it, I really believe it is. So much effort has been put in just like everything by Hugo it is easy to understand and there is a lot of back of forth in the comments under each lesson. I don’t think I’ve seen a more involved teacher
Looking forward to every next tutorial you put out, I’m so impressed with the quality and how much you simplify very complex concepts
This is crazy Code Monkey! Two hours ago i was thinking about if Unity netcode for entities would be a good fit for our future game, or if i should look into Photon or something else. So it’s obvious that you’re reading my mind! Thanks, now i will enjoy the video! 😅
Found my old project made with Photon PUN2 and was going to remake it with Netcode for Entities but it was still in beta and there where no tutorials on how to start with it. And this has come at the perfect time.
This just makes my game so much more easy. Goat video
Oh Wow, thats what ive been looking for, i am decent at coding dots but didnt look into netcode for dots till now. Nice to see a good video on that powerfull tool
This is fantastic Hugo! Here is a Merry Christmas and a thank you from GVS. 🎄♥
Many thanks for the super thanks! I hope the video helps you learn! Merry Christmas!
@@CodeMonkeyUnity Would not even consider learning NE without a CodeMonkey tutorial on it! =) Your tutorials are an absolute game changer.
We recently started studying Netcode for Entities, and aside from the official documentation, this is the best tutorial I’ve seen-it clarified a few things for me. I just wish you had gone into more detail about session management with Relay, which I find essential for a game. I hope you’ll cover it in the future, as we spent quite a bit of time figuring it out ourselves.
I'm glad you like the video!
By session management you mean just the connection? I looked briefly at that sample and it seemed pretty straightforward, I'll look into it some more
@@CodeMonkeyUnity Sorry, I wasn't very clear. I meant managing a scene prior to the game where players can choose from a list of sessions and decide where to connect to play. This is seen in the widget package examples. I encountered a lot of problems once players had chosen the session and the game started. When loading a new scene, if not done correctly, the connection is lost or the clientworld loses the networkstreamdriver. Therefore, I believe that an in-depth exploration with some best practices could be beneficial for everyone who wants to use Netcode for Entities. I couldn't find any tutorial that addressed this aspect, which I consider important in the construction of a game.
You just saved me, was just getting started with this and struggling
Yeah it definitely is a bit tricky to get started, took me quite a while of reading the documentation and the samples to figure out how it works, I really hope this video helps!
CodeMonkey you are the best! Thank you so much for making this!
Many thanks Hugo ! big help, I will watch it after work 😀👍🙏
Thank You Code Monkey. 💯👏🏻
I really appreciate it.
This is Amazing... AAA Knowledge for free, and of course there's always the option to pay for premium content.
Thanks! I hope you learn a lot!
Very interesting, thank you 🙂
Hey! Could one apply this to the game that is created in your DOTS course? Or is it even planned to include MP into the DOTS game / course?
I'm going to research that right now. Basically you need to make the Units and Buildings into Ghosts, and just with that it should already be pretty good. Then make RPCs and GhostFields to synchronize all the other data. I'm hoping it won't be too difficult so I'll be able to make a few lectures on it.
@@CodeMonkeyUnity Can't wait, almost done the paid course
@@CodeMonkeyUnityThat would be amazing!
Amazing! Thanks
All of this is free ? Holy cow
Thanks very much for always teaching us what we want.
I have a question,
I haven't went through the video yet, but in the overview match making wasn't mentioned. How can we include match making in netcode for entities?
Thanks
There's a separate tool for that, I covered it here ruclips.net/video/90Iw1aNbSYE/видео.html
@CodeMonkeyUnity thanks very much
Hey CodeMonkey, would be nice if you could explain the workflow of making game in a gaming company. I mean the steps from game design, art, programming, audio and so on.
LESSS GOOOOOOOOO
lovely.
Hi CodeMonkey, great tutorial once again. Not totally sure but could it be that your issue with the EntitiesSubscene not being loaded correctly is due to the fact that you are suppose to load it using a dedicated system so that it can actually "await" for the LoadSceneAsync to finish loading and react to the component stating that the subscene is loaded before moving on with the connection?
Well, I was going to go through turbos netcode video... But I suppose I can start with this one instead.
Photon is cheaper than Netcode. Can someone please give me a good argument for Netcode?
Thanks for this but I'll just wait for all the boilerplate stuff to be included by default
First 🔥
From your experience working with both systems is there a number of objects where networked ecs is better than networked gamobjects?
Hmm I haven't tried doing a stress test so not sure but technically yes Netcode Entities is meant to be much more capable than NGO.
I would guess NGO's limit is around 20-50 network objects, (Unity themselves recommend 2 to 8 players + other objects) depending on how much they move/change state. Whereas I assume Netcode Entities should be able to handle hundreds
Você parece que lê minha mente 😂
If i send the game to my friend thas has onathor pc would the conections work? if he opened my game, would we play together?
If you setup NAT and your firewall then yes. Otherwise you need to use something like Relay to bypass the firewall ruclips.net/video/msPNJ2cxWfw/видео.html
Any idea if Netcode for entities is better than the DotsNet created by the authors of mirror ?
mirror is bad and dotsnet is dead
@tryfinally why ? And which do suggest as an alternative?
Hmm no idea since I haven-t used either of those sorry
Can you show steamworks + netcode in unity6?
The only thing different is swapping the transport layer, that is indeed something I'd love to research someday
Hello, does netcode contains host migration system?
Sadly no I don't think so, at least I didn't see any mention in the docs. It's possible but you'd have to handle it yourself, set up a Lobby and if the host disconnects define another player to be the new Host and start the connection again
@@CodeMonkeyUnity yup, that's wierd PUN 2 solved this issue years ago,
Thanks please make some tutorial on PUN 2 that will be helpful for us
@@rajsah4667 pun is amazing
I think they're working on that to get it into future unity 6 versions
Mito
Woow
Code monkey! Since when are you using ai generated pictures???
Since it's been available, it's an excellent tool that helps me spend more time on the content of the video itself as opposed to making thumbnails (which I hate doing)
Second
Someone at unity is hovering their finger over the “deprecate current networking api” button and is just waiting for me to start following this tutorial.
The only networking API they have deprecated was UNET almost 10 years ago, so I would say don't worry about that
Or if you want go use Netcode for Game Objects, it has already been around for 5 years and is continually getting updates, it's not going anywhere.
please stop using ai thumbnails
PLEASE
Lol
Why? It's an excellent tool that helps me make much better thumbnails than I could draw myself, and it helps me save time so that I can spend that time on the thing that actually matters, the content of the video itself
@@CodeMonkeyUnity i do belive that low quality thumbnails look better then the ones made by ai
no one will mind if you used ms paint to do so
are get paid by unity to produce so "positive" videos? They not really netural imho
Uh? What does this video have to do with positive or negative? This is a Tutorial...
absolute manchild comment located
@@CodeMonkeyUnityi do not use unity but it is ok. But unity corp isnt sadly, at least for now. Btw, i got addicted to creating pixel roguelike recently 😅
Using AI art for your thubmnail, pitiful.
Yup it's an excellent tool that allows me to spend more time on what actually matters, the content in the video, as opposed to the thumbnail which I hate doing