Netcode is a mid-level networking library built for the Unity game engine to abstract networking. This allows you, the developer to focus on your game rather than low-level protocols and networking frameworks.
|Getting Started||Hello World||Golden Path|
|Install Unity Netcode|
Migration from UNet to Netcode
Upgrade to Unity Netcode Package
|Your First Networked Game|
Building on First Steps
|Foundation module |
|Core Concepts||Debugging||Learn More|
Bite Size Samples
Dapper Dino Tutorials
Netcode supports the following versions:
- Unity 2020.3, 2021.1, and 2021.2
- Mono and IL2CPP Scripting Backends
Netcode supports the following platforms:
- Windows, MacOS, and Linux
- iOS and Android
- XR platforms running on Windows, Android, and iOS operating systems
- Most closed platforms, such as consoles. Contact us for more information about specific closed platforms.
Netcode does not support the WebGL platform because it does not allow access to IP Sockets.
There are third party transports provided by the community that may enable you to use Netcode on WebGL platforms. A list of these transports are found here.
Use with caution:
- You may encounter bugs and issues while using Netcode on WebGL, and we will not prioritize fixing those issues.
- The server or host cannot be a WebGL client, but a Desktop or Mobile build.
- You may experience increased latency and jitter because of the TCP protocol used by WebSockets.
This is free under the permissive MIT Licenses by Unity and the Netcode collaborators. Netcode is open source with no attached costs or limitations, so you can develop features alongside Unity.