Skip to main content

Overview - Quick match with dedicated servers - (Unity module)

Last updated on June 12, 2024

Introduction

Previously, you have successfully implemented matchmaking and configured a dedicated server. In this module, you will learn how to implement using matchmaking to connect to the dedicated server so the players can start playing after they have joined the game session.

Prerequisites

In order to complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unity project repository.

  • To force enable this module by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

    {
    "enableModulesOverride": true,
    "forceEnabledModules": ["MatchmakingSessionDS"],
    "forceDisabledOtherModules" : true,
    }

Learning objectives

At the end of this module, you will know how to implement:

  • Using matchmaking to connect with dedicated servers.
  • Game clients joining and leaving game sessions.

Preview

At the end of this module, your project will look like the image below.

Matchmaking Session with Dedicated Server (DS) demo Unity Byte Wars matchmaking dedicated servers