This repository is a fork of Unity's bitesize samples repository, which are built with our netcode solution, Netcode for GameObjects. This copy is a fun project to help us answer the question of what challenges does a developer face, when they'd like to implementing Game Server Hosting(Multiplay) and Matchmaker, to their multiplayer game made with Netcode for GameObjects.
The code you'll see in this sample is based on Unity's own Matchplay Sample, which demonstrates how to create a Matchmake button, a basic networked client-server game with a matchmaking feature from end-to-end using the Unity Engine and Cloud Services SDK.
PLEASE NOTE: This is a basic sample, and does not cover advanced features of Matchmaking and Server Hosting.
See the Client Driven Sample to learn about client driven movements, networked physics, spawning vs in-scene placed NetworkObjects
, and NetworkObject
parenting.
Click to expand/collapse contents
-
This repository is public! Feel free to clone it, or download the contents as a
.zip
file. -
For Zipped File download: select
Code
and select the 'Download Zip' option. Please note that this will download the branch you're currently viewing on Github
This project is compatible with the Unity Long Term Support (LTS) editor version, 2021.3.XX LTS. Please include standalone support for Windows/Mac in your installation.
PLEASE NOTE:
- When you first download the project, it will not automatically work using the services. Every developer must create a Unity dashboard project, and run through the necessary setup guides for Game Server Hosting, and then Matchmaker as well.
- You will also need Netcode for Game Objects to use these samples. Complete the Hello World tutorial to prepare your environment.
- Report bugs in the
source
Bitesize samples repository using Github issues - Report NGO bugs using NGO Github issues
- Report Unity bugs using the Unity bug submission process
For a deep dive into Netcode for GameObjects and the Bitesize Samples, visit our documentation site.
For help, questions, networking advice, or discussions about Netcode for GameObjects and its samples, please join our Discord Community or create a post in the Unity Multiplayer Forum.
If you'd like to leave feedback for this sample, or the other bitesize samples, please consider leaving us feedback here--it will only take a couple of minutes. Thanks!
MatchPlay demonstrates how to create a Matchmake button: a basic networked client-server game with a matchmaking feature from end-to-end using the Unity Engine and Cloud Services SDK.
Galactic Kittens is a small 2D co-op space adventure sample game where players must blast off to space and defeat all of the possible enemies in a small time range.
Boss Room is a fully functional co-op multiplayer RPG made with Unity Netcode. It is an educational sample designed to showcase typical netcode patterns that are frequently featured in similar multiplayer games.