Welcome to the Unity Multiplayer Networking Documentation. This site includes the Netcode for GameObjects, Unity Transport, Boss Room Sample Co-op, Bitesize samples, and other tools and features.
The documentation site is built using Docusaurus 2 using Yarn and Node.js.
Always cut branches from master branch.
See the Contribution Guide to learn about writing and submitting content, our GitHub labels, and more. A template file (/docs/template.md) is included in the repo to understand markdown formatting and options.
You can install and build docs on Mac and Windows environments. The doc site is built on Docusaurus, which requires NodeJS and Yarn installed for your OS.
- Install NodeJS.
- Install Yarn.
- Install Docusaurus to a temp location:
yarn global add docusaurus-init
. You can delete the temp project.
For full building content, see Building Locally:
-
Run the build command to generate a site. This command generates static content into the
build
directory.yarn build
-
Start a local development server and open up a browser window with the following command. Most changes are hot-loaded, displaying without requiring a rebuild and restart.
yarn start
Connect with the Unity Multiplayer Solution Architect team and community on the Unity Multiplayer Networking and for documentation team using channel #documentation. You can also raise threads on the Unity Multiplayer Forum
Our site uses Docusaurus with Yarn commands. Always use Yarn commands, to update, build, and serve the server locally. Our search uses Algolia for Open Source. For details on tools, see this blog post. If you need a preview without building locally, the Unity Doc Team can get you a preview!