Skip to main content

Getting Started with Netcode

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.

Before you begin#

Netcode supports the following versions:

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.
Using WebGL

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.
Content Licenses

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.

MLAPI Previous Versions and Docs

For those looking for the MLAPI releases and documentation v. 12.x and earlier, see the following: