Version: 2020.2
LanguageEnglish
  • C#
Removed

MasterServer

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Obsolete

Description

The Master Server is used to make matchmaking between servers and clients easy.

You can advertise game hosts or fetch host lists for you game type. The functions here are used to communicate with the Master Server itself which resides on a separate server. If necessary the server itself can be customized. For an overview of the Master Server as well as a technical description see the Master Server manual page.

Messages

OnFailedToConnectToMasterServerCalled on clients or servers when there is a problem connecting to the master server.
OnMasterServerEventCalled on clients or servers when reporting events from the MasterServer.