• Games
  • Industry
  • Resources
  • Community
  • Learning
  • Support
Development
Unity Engine
Build 2D and 3D games for any platform
DownloadPlans and pricing
Monetization
In-App Purchase (IAP)
Discover and manage IAP across stores
Mediation
Maximize revenue and optimize monetization
Ad Quality
Protect your app’s user experience
Tapjoy
Build long-term user loyalty
All monetization products
User acquisition
User acquisition
Get discovered and acquire mobile users
Unity Vector AI
Connect players with the right games
Aura on-device advertising
Reach users on-device at peak engagement
All growth products
Use cases
3D collaboration
Build and review 3D projects in real time
Immersive training
Train in immersive environments
Customer experiences
Create interactive 3D experiences
All industry solutions
Industries
Manufacturing
Achieve operational excellence
Retail
Transform in-store experiences into online ones
Automotive
Elevate innovation and in-car experiences
All industries
Technical library
Documentation
Official user manuals and API references
Developer tools
Release versions and issue tracker
Roadmap
Review upcoming features
Glossary
Library of technical terms
Insights
Case studies
Real-world success stories
Best practice guides
Expert tips and tricks
All resources
What's new
Blog
Updates, information, and technical tips
News
News, stories, and press center
Community Hub
Discussions
Discuss, problem-solve, and connect
Events
Global and local events
Community stories
Made with Unity
Showcasing Unity creators
Livestreams
Join devs, creators, and insiders
Unity Awards
Celebrating Unity creators worldwide
For every level
Unity Learn
Master Unity skills for free
Professional training
Level up your team with Unity trainers
New to Unity
Getting started
Kickstart your learning
Unity Essential Pathways
New to Unity? Start your journey
How-to Guides
Actionable tips and best practices
Education
For students
Kickstart your career
For educators
Supercharge your teaching
Education Grant License
Bring Unity’s power to your institution
Certifications
Prove your Unity mastery
Support options
Get help
Helping you succeed with Unity
Success plans
Reach your goals faster with expert support
FAQ
Answers to common questions
Contact us
Connect with our team
Plans and pricing
Language
  • English
  • Deutsch
  • 日本語
  • Français
  • Português
  • 中文
  • Español
  • Русский
  • 한국어
Social
Currency
Purchase
  • Products
  • Unity Ads
  • Subscription
  • Unity Asset Store
  • Resellers
Education
  • Students
  • Educators
  • Institutions
  • Certification
  • Learn
  • Skills Development Program
Download
  • Unity Hub
  • Download Archive
  • Beta Program
Unity Labs
  • Labs
  • Publications
Resources
  • Learn platform
  • Community
  • Documentation
  • Unity QA
  • FAQ
  • Services Status
  • Case Studies
  • Made with Unity
Unity
  • Our Company
  • Newsletter
  • Blog
  • Events
  • Careers
  • Help
  • Press
  • Partners
  • Investors
  • Affiliates
  • Security
  • Social Impact
  • Inclusion & Diversity
  • Contact us
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell or Share My Personal Information

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Hero background image

Build multiplayer games with Unity Netcode

Discover Unity’s netcode solution, and get your hands on libraries, tutorials, and samples to start building.
Netcode for GameObjects
Netcode for Entities
Netcode for GameObjects
Netcode for Entities
  • Overview
  • Resources
  • FAQ
Watch now

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

Netcode solutions for casual co-op

Target casual co-op multiplayer games with the Netcode for GameObjects package. Synchronize scenes and GameObjects data across multiple clients and platforms with either client- or server-authoritative models. Unity helps you optimize your multiplayer games with tools to profile the network, both in Play Mode and at runtime.

Relay, from Unity Gaming Services, is a cost-effective peer-to-peer companion service to scale playtests and build a multiplayer game without having to invest in dedicated hosting.

Install Netcode for GameObjects
View the roadmap
Snowy racecar scene

Netcode solutions for competitive action

Target competitive action multiplayer games with the Netcode for Entities package based on ECS, built for performance and scalability. Build ambitious server-authoritative gameplay featuring prediction, interpolation, and lag compensation.

Manage the costs with a dedicated server build target that can automatically strip assets. Deploy it with Multiplay Hosting from Unity Gaming Services, a streamlined approach to maintaining resiliency and scalability in your gaming infrastructure, so you can focus on providing the best experience to your players.

Install Netcode for Entities
View the roadmap
UGS key art

Level up your game with Unity Gaming Services

Build your small-scale cooperative game with Netcode for GameObjects and connect your players with Relay and Lobby.

Plus, access more Unity solutions available to build, manage, and grow your game – battle-tested by the biggest names in gaming.

Learn more
Electric current going between two panels

Get fine-grain control of the transport layer

Unity Transport Package is a netcode-agnostic library that provides a low-level network layer focused on performance and reliability – a modern, secure, and portable transport library that extends the conventional UDP with advanced features such as support for the Unity Relay service, UnityTLS, and pipelines among others.

Both Netcode for GameObjects and Netcode for Entities rely by default on UTP as a transport. However, developers looking to keep fine-grain control over the network can use UTP as a standalone library.

Learn more
Watch now

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.

Dive into networking code with netcode samples

Learn more about multiplayer game development by exploring the code of our multiplayer samples.

  • Boss Room is a 3D casual co-op game with production-level code – built with Netcode for GameObjects and integrated with Lobby and Relay.
  • Galactic Kittens is a 2D co-op space adventure sample built with Netcode for GameObjects and designed to help you learn how to synchronize network objects.
  • Network Racing is a fact-paced competitive racing sample – built with Netcode for Entities – that exemplifies client-side prediction, interpolation, and lag compensation.
Learn and create within a community

Learn and create within a community

Someone once said that it’s dangerous to go alone – so we thought you should take this! Dive into our documentation for technical references and content to get started with networking.

Plus, our team is active on the Multiplayer forum, Discord, and GitHub if you have any questions.

Documentation
Join our discord

Learn more about multiplayer networking

Bitesize Samples

Bitesize Samples

The Bitesize Samples repository provides a series of sample code as modules to use in your games and better understand Netcode for GameObjects (Netcode).

Learn more
Netcode for Game Objects Tutorial

Netcode for Game Objects Tutorial

Access this tutorial to acquire a fundamental understanding of Netcode for GameObjects and know how to employ it when creating a casual co-op multiplayer game.

Learn more
Small Scale Competitive Multiplayer Template

Small Scale Competitive Multiplayer Template

This template provides a starting point to create and ship your Multiplayer project using Netcode For GameObjects and Unity's gaming services.

Learn more
Getting Started with Netcode for Entities

Getting Started with Netcode for Entities

Watch this on-demand webinar to go over a deep dive into Megacity Metro demo to learn how to enable entities into your project along with Unity's gaming services.

Learn more
multiplay callout
Start building your next multiplayer game

Install Unity multiplayer solutions to get a head start on your next project.

Build casual co-op
Build competitive action

Frequently asked questions

Does Unity Engine work for P2P?

+

Yes, Unity’s netcode solutions support a host/listen-server model where one client acts as the host and other clients connect to it. Learn more here.

Which platforms will Unity’s multiplayer support?

+

With the most recent version of Transport, which is used across all our multiplayer solutions, we support all platforms, including WebGL. Feel free to review our roadmap to vote on or share your ideas here.

When will Unity’s multiplayer solutions be production ready?

+

Netcode for GameObjects is production-ready as of September 20, 2022, and Netcode for Entities is in pre-release as of the 2022.2 Tech Stream.

Will Unity’s multiplayer suite always be separate packages?

+

Our current plan of record is to keep both netcode solutions separate from the core Unity real-time development platform. If plans change, our roadmap will be the first place to reflect that.

Which Editor versions are Unity’s multiplayer solutions available for?

+

Netcode for GameObjects will be available in versions 2020.3, 2021.3, 2022.1, and 2022.2

Netcode for Entities will be available in versions 2022.2.

How are Unity’s multiplayer solutions integrated with Unity Gaming Services?

+

Netcode for GameObjects and Transport have seamless integration with Unity Relay.

For Multiplay Hosting, the process to get them setup together is currently manual – however, our team is currently working on making this DGS workflow optimal and seamless across all our solutions.

Will you accept pull requests from the community?

+

Absolutely, both in the SDK and the docs. We’re excited to be able to share this journey with the community, and we will also make other different flavors of contributions available, for instance, RFC processes to discuss design decisions.

Can you use a dedicated server?

+

Both of our multiplayer solutions support a dedicated game server model. To create a dedicated game server, you can change your build target to a dedicated server, build your project normally, then upload that final build to a game server hosting service or your own server hardware.

Where can I find tutorials and other learning materials?

+

Our documentation site is full of learning resources and articles to help you get started. If you have any other questions, you can ask our team directly on Discord.