com.unity.netcode 1.7.0

com.unity.netcode

Source docs
Notes: processedReleased July 31, 2025

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.3 (20f1)

Package Dependencies

Features

  • A warning will now appear if you have a query involving `Simulate` while ignoring enabled state with `EntityQueryOptions.IgnoreComponentEnabledState` in the prediction loop.

📈 Improvements

  • Removed `ENABLE_HOST_MIGRATION` define which hid the host migration feature, it's now enabled by default. This also enables by default the `NetworkStreamIsReconnected` component which works without host migration.
  • Refactor host migration API
  • - Removed `MigrateDataToNewServerWorld`/`ConfigureClientAndConnect` helper functions. They'll be in the docs and sample instead.
  • - Renamed `HostMigrationUtility`->`HostMigrationData` and in that class renamed `Get/SetHostMigrationData` to `Get/Set` (class only contains data methods) with parameters reflecting directionality of data buffer and world. Removed `TryGetHostMigrationData`, use `Get` instead (native list version).
  • - Removed `DataStorageMethod` as it no only has one enum value.
  • The ghost component serialization method in the host migration feature changed to a much better performing one.

🔧 Bug Fixes

  • Issue where `PreparePredictedData` was not being called on `GhostPlayableBehaviour`, breaking `GhostAnimationController` functionality.
  • Issue where `NetCodeConfig.EnableClientServerBootstrap` was not visible within the `NetCodeConfig`.
  • Issue when running a webgl player where you could not connect or receive connections from non-webgl platform players.