Search Unity

6 community videos to get you started with multiplayer in Unity

May 5, 2023 in Games | 8 min. read
6 multiplayer how-tos from community experts | Hero image
6 multiplayer how-tos from community experts | Hero image
Share

Is this article helpful for you?

Thank you for your feedback!

Are you looking to try your hand at multiplayer game development in Unity? For the past year, we’ve been launching new products and features to flesh out our Multiplayer suite of tools to support the creation of multiplayer games spanning all genres and platforms – from dedicated hosting to friends list management to in-game voice chat.

However, connecting all the dots into a tech stack that you can use to build the multiplayer game of your dreams can be confusing. That’s why we’re showcasing six recent YouTube video tutorials from community content creators that cover Unity's multiplayer tools. From Code Monkey’s in-depth tutorials to Dapper Dino’s expert insights, each video provides a wealth of knowledge and inspiration for game developers.

Let’s dive in.

1. Samyam on Netcode for GameObjects

Samyam is a YouTube creator who focuses on game development tutorials for indies. In this video from March 18, Samyam introduces you to Netcode for GameObjects (NGO), one of Unity’s proprietary networking libraries, and shows how to leverage the package alongside Unity Transport to build a simple multiplayer game.

Samyam’s video includes a helpful overview of high-level multiplayer terminology before diving into the tech, so this is a great place to get started.

Check out the video to see:

  • An introduction to high-level multiplayer terminology
  • Hands-on work with NGO 1.2.0 and Unity Transport
  • A simple game setup to integrate with hosting and matchmaking services

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

2. Code Monkey’s guide to running game servers like a pro

Code Monkey is a professional indie game developer who creates YouTube content about Unity and C# gamedev.

In this recent video, Code Monkey covers how to run dedicated game servers with Game Server Hosting (Multiplay) from Unity Gaming Services (UGS). He walks through:

  • An introduction to Game Server Hosting
  • Making a dedicated server build of your game
  • Uploading your server to the cloud on the Unity Dashboard
  • Getting your game servers online for players

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

3. Dapper Dino covers matchmaking for multiplayer

Unity’s Matchmaker is a smart, rule-based matchmaking system that plugs easily into the Unity game engine. Dapper Dino walks you through how to integrate Game Server Hosting (Multiplay) and Matchmaker into any game powered by Netcode for GameObjects, using one of his existing projects (which you can access here) to show how to host your game and provide matchmaking for players.

Check out Dapper Dino’s full video to learn how to:

  • Access the Unity dashboard
  • Set up your servers
  • Set up Matchmaker
  • Test the services

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

4. Code Monkey shares steps for easy, rule-based matchmaking

In this follow up to his first video in our roundup, Code Monkey covers how to add matchmaking to multiplayer games and define rules with as much or as little complexity as you want. He addresses how Matchmaker is integrated with Game Server Hosting to get your game online, as well as how to sort players into matches.

A major benefit of this tutorial is Code Monkey’s explanation of the different rule sets you can explore within Matchmaker to set up skill-based, geography-based, or platform-based matchmaking (or other combinations) to optimize your player experience.

Code Monkey has even made the project files available for viewers. Explore how it all works together to build a live multiplayer game by pressing play below.

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

5. Tarodev’s guide to online multiplayer

Tarodev, another popular YouTuber who makes game dev tutorials, walks viewers through getting started with NGO in this video. In the video you’ll learn:

  • How to get started with Netcode
  • The difference between server and client authority (and when to use each)
  • How to write performant network code
  • How to use NetworkVariable and INetworkSerializable
  • About cheap multiplayer interpolation
  • What ServerRPC and ClientRPC are
  • Tricks to make your multiplayer game feel great

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

6. A Code Monkey course on learning multiplayer

If you’re looking for an end-to-end video guide to multiplayer development in Unity, this is the tutorial for you. In this six-hour YouTube course, Code Monkey walks through the full experience of building a small multiplayer game in Unity – from networked gameplay to integrating live services.

The video builds on Code Monkey’s previous course on making a singleplayer game in Unity and converting that tutorial project into an online-ready multiplayer experience. The video covers:

  • Setting up Netcode for GameObjects 
  • Networking your gameplay
  • Handling player joins and disconnects 
  • Integrating Lobby
  • Hosting with Relay 
  • Exploring Game Server Hosting (Multiplay), Matchmaker, and Voice and Text Chat (Vivox) 
  • Multiplayer debugging

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

What else do you want to see tutorials on in the future? Let us know in the Unity multiplayer forums or on our multiplayer Discord. Happy creating!

May 5, 2023 in Games | 8 min. read

Is this article helpful for you?

Thank you for your feedback!

Related Posts