Skip to main content

About Netcode for GameObjects

Netcode for GameObjects (Netcode) is a high-level networking library built for Unity for you to abstract networking logic. It enables you to send GameObjects and world data across a networking session to many players at once. With Netcode, you can focus on building your game instead of low-level protocols and networking frameworks.

To learn more about Netcode for GameObjects functionality and capabilities, explore the content below:

Don't forget to check out Release Notes and APIs!

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.
    • When working with consoles (such as PlayStation, Xbox, or Nintendo Switch), there may be Netcode-specific policies you should be aware of while testing and before launching your game live. Refer to the console's internal documentation for more information. This content is typically protected by NDA.
Using WebGL

Netcode doesn't support the WebGL platform because it doesn't 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 the engineering team won't prioritize fixing those issues.
  • The server or host can't 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.