Connecting Unity Clients to a Dedicated Server | C# Networking Tutorial - Part 1

Published: 26 October 2019
on channel: Tom Weiland
445,369
10k

In this first part of my C# networking tutorial series, we set up a TCP connection between a dedicated server and a Unity client.

THIS SERIES IS OUTDATED! Check out the NEW & IMPROVED videos:    • How to Make a Multiplayer Game in Uni...  

Check out my devlogs:    • Multiplayer Pirate Game Devlogs  

⎯⎯⎯⎯⎯⎯

Kevin Kaymak's channel:    / @androidretro  
List of commonly used ports: https://en.wikipedia.org/wiki/List_of...
Compare your code to mine on GitHub: https://github.com/tom-weiland/tcp-ud...

Discord server: https://tomweiland.net/discord
Support me on GitHub Sponsors: https://github.com/sponsors/tom-weiland
Support me on Ko-fi: https://tomweiland.net/kofi
GitHub: https://tomweiland.net/github
Website: https://tomweiland.net/

⎯⎯⎯⎯⎯⎯

Gear & Software I Use

Developing
⮞ Engine - Unity: https://store.unity.com/#plans-indivi...
⮞ Code Editor - Visual Studio: https://visualstudio.microsoft.com/vs/
⮞ 3D Modeling - Blender: https://www.blender.org/download/

Recording & Streaming
⮞ Screen Recorder - OBS Studio: https://obsproject.com/
⮞ Camera - Panasonic G85: https://amzn.to/39P77GK
⮞ Microphone - Maono AU-PM422: https://amzn.to/2LsTIuG

Computer Parts & Peripherals
⮞ Mouse - Logitech G604: https://amzn.to/3mqUSoy
⮞ CPU - AMD Ryzen 7 2700X: https://amzn.to/3pU06K9
⮞ GPU - GeForce GTX 1050 Ti: https://www.newegg.ca/p/N82E16814125915
⮞ Motherboard - ASUS Prime X470-Pro: https://amzn.to/3p20h5f
⮞ SSD - Gigabyte 240GB: https://amzn.to/39UPWDQ
⮞ HDD - WD Blue 1TB: https://amzn.to/2O37EMI
⮞ RAM - 8GB x2
⮞ Case - Fractal Design Meshify C: https://amzn.to/3q6FgHy
⮞ Power Supply - EVGA 750 GQ: https://amzn.to/2N3T3A0

Other
⮞ YT Channel Management Tool - TubeBuddy: https://www.tubebuddy.com/tomweiland
⮞ Webhosting - Bluehost: https://www.bluehost.com/track/tomwei...

I personally use all of the above products and services, so they are genuine recommendations. Some of these links are affiliate links, which means I get paid a small commission (at no extra cost to you) if you sign up or buy through them. Thanks for supporting the channel!

⎯⎯⎯⎯⎯⎯

#UnityTutorial #Multiplayer #Unity3D #Networking #GameDev #Server #Client #Multiplayer #GameDevelopment #Unity #MadeWithUnity

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.

⎯⎯⎯⎯⎯⎯

"Interplanetary Forest" by Meydän is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist:   / meydansound  


Watch video Connecting Unity Clients to a Dedicated Server | C# Networking Tutorial - Part 1 online without registration, duration hours minute second in high quality. This video was added by user Tom Weiland 26 October 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 445,36 once and liked it 10 thousand people.