For the latest 7.2.0 version introducing GameObject support, please see Prediction in GameObject Netcode - GhostObjects Released
Netcode for Entities 7.0.0: moving back to an independent package in Unity 6.7
Hello everyone!
We have an important update on how Netcode for Entities is delivered, starting with Unity 6.7.
The short version
-
From Unity 6000.7.0b1, Netcode for Entities ships as an independent package again, rather than a bundled core package.
-
The first independent release is 7.0.0. It includes a small set of breaking changes, most of which the script updater handles for you.
-
Unity 6.7 LTS gets the new stuff. As we build the next generation of Unity Netcode, new features land on 6.7 as they’re ready, not at the next major Editor release.
-
Nothing changes for Unity 6.0, 6.3, 6.5 and 6.6.
Moving back to an independent package in Unity 6.7
Starting with Unity 6000.7.0b1, Netcode for Entities will become an independent package again, rather than a bundled core package. The first independent version of Netcode for Entities will be package version 7.0.0.
We know this may feel like a U-turn. As explained in an earlier Discussions post, Netcode for Entities became a core package in Unity 6.5 due to difficulties integrating with the Entities package, which had itself become a core package in the same release. The team has since developed a technical solution to solve these issues.
So why move back? Being independent of the Unity Editor release cycle allows us to ship features and fixes faster to a wider range of supported Editor versions, instead of being locked to a specific Editor version. By making this change now, you can gain access to the new GameObject workflows much sooner, rather than waiting for the next Long-Term Support (LTS) release.
As we mentioned at Unite Seoul, our plan to bring Unity’s netcode solutions together under one roof is well underway. The next generation of Unity Netcode will support both data-driven and object-driven workflows on a single shared foundation, and we’ll share more details as we get closer to Unity 7.
Breaking changes in Netcode for Entities 7.0.0
The major version bump reflects changes that prepare Netcode for Entities for the next generation of Unity Netcode. The upgrade guide has the full details, here’s the summary.
-
World→NetcodeWorld. APIs that require a world containing netcode systems (such as ClientServerBootstrap.ClientWorld and ClientServerBootstrap.ServerWorld) now take or return NetcodeWorld. Passing a plain World used to fail at runtime with confusing “missing component” errors; it now fails at compile time. NetcodeWorld derives from World, so most call sites keep working. Return types and collections (List → List) need a manual edit. -
NetCode→Netcode. To standardize naming conventions across all Unity Netcode solutions, NetCode is normalized to Netcode across namespaces and types. Additionally, NetworkTime and NetworkTimeSystem have been moved to theUnity.Netcode.NetcodeTimenamespace. These changes form part of a broader, long-term initiative to unify Unity Netcode architectures, ensuring consistency and preventing potential type collisions when multiple packages are used together. Both changes carry [MovedFrom] attributes and are migrated automatically by the script updater. As we mentioned at Unite Seoul, our plan to unify and merge netcode solutions under one roof is in progress, and we’ll share more details as we get closer to Unity 7. -
AutoConnectPort defaults to a non-zero value. ClientServerBootstrap previously defaulted to 0, which created netcode worlds but did not connect them. When using client and server worlds in a binary setup, this meant starting with nothing rendering, forcing users to set the port in code. It now defaults to a non-zero value so a new project connects and renders out of the box instead of creating worlds that never connect. You can still override it.
-
Single-world host mode is the default for new projects, and its experimental define is removed. See the single-world host mode documentation for details, including how to switch back to binary-worlds hosting.
What do you need to do?
-
Let the script updater run when prompted. It handles the namespace changes.
-
Fix the World → NetcodeWorld errors the compiler flags. This is usually a one-word edit.
-
Read the upgrade guide for the full details of what’s involved in upgrading.
Editor and version support
-
Unity 6000.7.0b1 is the minimum supported Editor for Netcode for Entities 7.0.0. The package is in the Editor manifest, so projects moving to 6.7 pick it up automatically.
-
Unity 6.5 and 6.6 keep their bundled core version. Both are approaching the end of support, so no major changes or backports are planned for them.
-
Unity 6.3 continues being supported by Netcode for Entities version 1.x
FAQ
Q: Why 7.0.0 and not a 2.x release?
A: As a core package, Netcode for Entities followed Editor versioning (6.5.0, 6.6.0). Package Manager only moves versions upward, so a lower number would break every project upgrading to 6.7. 7.0.0 is the first version that works.
Q: How does this work while Entities is still a core package?
A: We’ve built tooling and validation that lets the two teams collaborate closely while releasing on different schedules.
Q: Do I need to change anything on Unity 6.0, 6.3, 6.5 or 6.6?
A: No. The change applies from 6000.7 onward.
We appreciate your support as we improve our Netcode solutions. Please provide feedback or questions in this thread and the team will be happy to respond.