Note: UNet is deprecated, and will be removed from Unity in the future. A new system is under development. For more information and next steps see this blog post. |
When you are making your multipayer game, you will need to implement a way for players to find each other, join existing matches or create new ones. You will also need to decide how to deal with common network problems, such as what happens if the person hosting the game quits.
This section provides information on how to build these important parts of your game, including:
Host migration, for when the player hosting a peer-hosted game quits.
Network discovery, to help your players connect to each other on a LAN
Multiplayer lobby, to help your players create or join matches across the internet
Custom network client and server code - when you have custom requirements and want to write your own connection code rather than using Unity’s Network ManagerA Networking component that manages the network state of a Project. More info
See in Glossary.