com.unity.netcode 7.1.0

com.unity.netcode

Source docs
Notes: processedReleased October 3, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.7 (0b1)

Package Dependencies

Features

  • Prediction tracing tool: this tool allows you to debug your prediction loop, diffing the client and server state per predicted tick and system for an in editor binary world setup.

Improvements

  • Updated Single World Host smoothing to disabled by default for ghost prefabs.
  • The methods in `DefaultDriverConstructor` don't need their `INetworkInterface` arguments to be unmanaged types anymore. This is in line with the same relaxation having been made in the Unity Transport package.
  • The snapshot synchronisation system optionally no longer considers an unknown ghost type received on clients as an immediate fatal error. There is now a configurable timeout value `NetcodeConfig.GhostPrefabLoadingTimeout` which controls when this should be considered a fatal error. It also allows the client to destroy a ghost type (like unload a subscene with ghost prefab references) ahead of the server.
  • `SnapshotHistorySize` is now configurable on a per-ghost-type basis, allowing you to reduce the memory consumed by a ghost's snapshot history for ghosts sent below the default 60Hz. The recommended value (and its tooltip) is visible in the ghost authoring UI.

Bug Fixes

  • The `GhostAuthoringInspectionComponentEditor` no longer throws exceptions when it is open while exiting playmode.
  • `NetworkStreamDriver.Disconnect` always disconnected on the first driver of the `NetworkDriverStore` instead of the driver the connection was established on. With more than one driver registered, this left the requested connection connected and could close an unrelated one instead.
  • Removed an infinite retry loop in `GhostSendSystem`'s snapshot send loop: a `BeginSend` failure other than `NetworkPacketOverflow` (most commonly `NetworkSendQueueFull`) was never treated as fatal, so the job spun forever and hung the server instead of aborting.
  • Prespawned ghosts that became irrelevant occasionally failed to become relevant again for a connection. A despawn still held for the interpolation delay could resolve onto the re-spawned entity and destroy it.
  • `GhostDespawnSystem` now accounts for the fractional part of `NetworkTime.InterpolationTick`, so interpolated ghosts no longer despawn up to one tick ahead of the timeline the rest of the interpolation pipeline uses.