com.unity.netcode 7.2.0
Notes: processedReleased October 30, 2026
Browse versions
PreviousNext
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 6000.7 (0b8)
Package Dependencies
- com.unity.entities (6.7.0)
- com.unity.modules.animation (1.0.0)
- com.unity.transport (6.7.0)
Features
- Added a new GameObject compatible API (`GhostObject`, `GhostBehaviour`, `GhostField`, `GhostInput`, the `Netcode` facade, custom messages and RPCs, and the connection and prediction-switching wrappers). The `NETCODE_GAMEOBJECT_BRIDGE_EXPERIMENTAL` scripting define symbol is no longer needed to access this. See the new documentation section to guide you on usage.
- Added `NetcodeConfig.PartialTickModeSelection`, a project-wide setting choosing whether the client prediction loop runs partial ticks. `FullTicksOnly` is the default for new `NetcodeConfig` assets, existing assets keep `PartialTicks`. Refer to Full ticks only and the upgrade guide.
- `NetcodeConfig.PhysicsRunMode`: a project-wide `PhysicGroupRunMode` in the `NetcodeConfig`, used by both Unity Physics and GameObject physics. `NetcodePhysicsConfig.PhysicGroupRunMode` still overrides it per scene, and has a new `PhysicGroupRunMode.InheritOrAuto` option (the default for newly added components) to not override it. In the `NetcodeConfig`, `InheritOrAuto` means the default, `AlwaysRun`.
- `PhysicGroupRunMode.UserControlled`: netcode never steps physics, for you to step it inside the prediction loop yourself. The Unity Physics systems stay in the `FixedStepSimulationSystemGroup`, and netcode never changes `Physics.simulationMode`.
- Added Unity CLI commands for agents and scripts, available when `com.unity.pipeline` 0.9.0-exp.1 or later is installed. They inspect worlds, connections and ghosts, compare a ghost's state on the server and clients, modify ghost prefab settings and the NetcodeConfig, audit a project for setup problems, control sessions and the network simulator, and record prediction traces.
- The client no longer has to load the server's ghost prefabs in the same order as the server and will start receiving snapshot data for ghosts immediately, it doesn't need to wait until all ghost types are ready. The client reports which ghost types/prefabs it has loaded or unloaded, which is acknowledged per client connection on the server. The server can then only send ghosts the client is ready to receive. The`GhostCollection.NumLoadedPrefabs` counts the ghost type entries the client has received by the server rather than the ones it has loaded and is ready to receive ghost data. This only applies when `GhostPrefabLoadingTimeout` is enabled (non-zero), otherwise the client must be in lock sync with the server with regard to ghost prefabs (with connection in game).
- Added experimental predicted 2D physics for GhostObjects using PhysicsCore2D, enabled with the `NETCODE_GAMEOBJECT_PHYSICS2D_EXPERIMENTAL` scripting define symbol. Create bodies in the world from `GhostPhysicsCore2DWorlds` and attach them to a `GhostPhysicsCore2DBody`.
Improvements
- The minimum supported editor version is now 6000.7.0b6.
- Ghost state replication is now enabled for all connections automatically, so all connections have the `NetworkStreamInGame` component added by default. Snapshots and commands start flowing immediately when connected. A new `NetcodeConfig.AutomaticStateReplication` option can be used to disable this and go back to previous behavior. Refer to the upgrade guide.
- `NetworkTime.IsOffFrame` is now also computed on client worlds using `FullTicksOnly`, true on frames with no new full tick to predict. Refer to Off frames.
- Unity Physics now steps on every prediction tick by default (`PhysicGroupRunMode.AlwaysRun`), instead of only while predicted ghosts with a `PhysicsVelocity` exist or lag compensation is enabled. Values saved as the deprecated mo
