Match Up provides easy-to-use, hassle free matchmaking support for any networking system. Once you've selected a match from the list you can join it with JoinMatch. It's as simple as that. Also includes advanced filtering options and the ability to store additional data related to the match. An example scene is included that features creating , listing , joining , leaving , and destroying matches as well as setting match data and filtering matches. Note: Matchmaking requires a matchmaking server.
Unity - Scripting API: NetworkMatch
StartMatchmaker method enables matchmaking, and populates the NetworkManager. There are virtual functions on NetworkManager that you can customize by deriving your own class from NetworkManager. You can then customize the way your new NetworkManager class responds to Matchmaker callbacks. Here are the callbacks and their default implementations. If you override them, there are some methods which require that you call the base implementation, otherwise the functionality with the Network Manager HUD breaks.
MissingMethodException in UNet matchmaking
The multiplayer networking feature includes services for players to play with each other over the internet without needing a public IP address. Users can create games, get lists of active games; and join and leave games. When playing over the internet, network traffic goes through a relay server hosted by Unity in the cloud instead of directly between the clients. This avoids problems with firewalls and NATs, allowing play from almost anywhere. Matchmaking functionality can be utilized with a special script NetworkMatch , in the UnityEngine.
Brandi House , August 2, To make these important changes, we need to start anew. That means existing multiplayer features will be gradually deprecated, with more performant, scalable, and secure technologies taking their place. Head there to find out more April 11, These features work together to enable peer-to-peer P2P multiplayer games.