Properly Handling Disconnections | C# Networking Tutorial - Part 5
In this fifth part of my C# networking tutorial series, we properly handle disconnections to prevent errors and ensure the disconnecting player's slot is reset on the server.
If you get stuck or have questions, ask them on my Discord server: https://tomweiland.net/discord
Compare your code to mine on GitHub: https://github.com/tom-weiland..../tcp-udp-networking/
Follow me:
Website: https://tomweiland.net/
Instagram: https://tomweiland.net/instagram
GitHub: https://tomweiland.net/github
Building multiplayer games is a complex topic. Since every game has its own specific needs when it comes to networking, any one-size-fits-all options will likely come with a downside. You'll end up making trade-offs between performance, certain features, ease of use, and cost.
So what's the alternative? You can build your own networking solution! That may sound daunting—and it's by no means easy—but by the end of this step by step Unity networking tutorial series, you'll have learned the fundamentals of how to make a multiplayer game in Unity, even if you're completely new to networking! You'll also learn a ton about how not only games, but also how connected software in general use TCP and UDP to communicate. In this Unity multiplayer tutorial series, we'll be building a dedicated game server from scratch, which is essential if you want to prevent cheating.
#UnityTutorial #Multiplayer #Unity3D #Networking #GameDev #Server #Client
"Interplanetary Forest" by Meydän is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: https://soundcloud.com/meydansound/
Source / Fuente