Releases: Unity-Technologies/com.unity.netcode.gameobjects
Releases · Unity-Technologies/com.unity.netcode.gameobjects
Release list
v2.13.1
[2.13.1] - 2026-07-19
Added
- Single player session section to provide users with information about SinglePlayerTransport and an example script of how to switch between single and multi player sessions. (#4062)
Fixed
- Issue where NetworkAnimator did no bounds check on the parameter index read prior to obtaining a pointer to the location within the array. (#4090)
- Issue where scene migration in a distributed authority session would throw an exception on clients migrating their owned NetworkObject instances to a different scene.(#4086)
- Issue where migrating a dynamically spawned or in-scene placed NetworkObject into a different scene during awake could result in that spawned instance to not be synchronized. (#4086)
- Issue where a NullReferenceException was thrown when a non-authority failed to spawn a NetworkObject. (#4067)
- Issue where the active scene was not being serialized as the 1st scene which could result in various errors including a soft synchronization error if, on the client-side, other synchronized scenes had already been loaded prior to the active scene, which is always loaded as LoadSceneMode.SingleMode when client synchronization is set to LoadSceneMode.SingleMode, resulting in the previously loaded scene(s) to be unloaded. (#4065)
- Issue when FastBufferReader is attempting to read a string and all or a portion of the character count has already been read by user script, it could read a character length that results in a negative byte length which could result in an editor crash. (#4052)
- Issue where NetworkRigidbodyBase was not applying rotation correctly when using Rigidbody2D. (#4012)
- Issue where NetworkRigidbodyBase was always checking the 3D rigid body's interpolation mode when determining if it is kinematic and needs to put the rigid body to sleep and then switch to interpolation. (#4012)
- Fixed AnticipatedNetworkTransform not respecting the InLocalSpace flag. (#3995)
v2.13.0
[2.13.0] - 2026-06-21
Added
- Added support for Unity's Fast Enter Play Mode with domain reload disabled. (#3956)
- RPC messages now log any time they are not processed. (#3994)
Changed
- Changed replaced define usages of DEVELOPMENT_BUILD || UNITY_EDITOR and a few niche uses of DEVELOPMENT_BUILD with DEBUG. (#4006)
Deprecated
- Deprecated the nullable boolean NetworkObject.IsSceneObject and introduced NetworkObject.InScenePlaced. (#4000)
v2.12.0
[2.12.0] - 2026-05-24
Added
- Added a new variant of UnityTransport.GetDefaultPipelineConfigurations that takes a reference to the created NetworkDriver. This will register all pipeline stages that UnityTransport requires, removing the need to manually register them in your own custom driver constructor. (#3980)
Changed
- NetworkMetricsPipelineStage is now defined even when the multiplayer tools package is not installed, removing the need to guard its registration behind a version define when using a custom driver in UnityTransport. (#3980)
Deprecated
- Deprecated a number of methods that were no longer valid or being used. (#3987)
v2.11.2
[2.11.2] - 2026-05-01
Fixed
- Fixed issue where if the
NetworkManagerplayer prefab is not assigned an exception is thrown upon starting a host and/or when a client joins. (#3965)
v2.11.1
[2.11.1] - 2026-04-26
Added
- Better context aware logging (#3944)
Changed
- Improve handling of destroyed NetworkBehaviours. The collection of which NetworkBehaviours belong to a NetworkObject is now a Dictionary giving stable lookup. (#3953)
- Hardened error handling and recovery during
NetworkObjectspawn. (#3941) - Replaced Debug usage by NetcodeLog on
NetworkSpawnManagerandNetworkObject. (#3933) - Improved performance of
NetworkBehaviour. (#3915) - Improved performance of
NetworkTransform. (#3907) - Improved performance of
NetworkRigidbodyBase. (#3906) - Improved performance of
NetworkAnimator. (#3905) - Small cleanup and replaced Debug usage by NetcodeLog on
NetworkSpawnManagerandNetworkObject. (#3933)
Removed
- Removed un-needed exceptions on
NetworkSpawnManager. (#3933)
Fixed
- Fixed issue where either an
AttachableBehaviouror anAttachableNodecan throw an exception if they are attached during a scene unload where one of the two persists the scene unload event and the other does not. (#3931) - Fixed issue where attempts to use
NetworkLogwhen there is noNetworkManagerinstance would result in an exception. (#3917) - CreateObject and DestroyObject messages will now be properly deferred while the client is still connecting (#3941)
- Resources will be properly cleaned up when an object spawn fails (#3941)
- Non-authority client will now always have the
OnSceneEventcallback triggered with theSynchronizeevent when starting to process theSynchronizemessage from the scene authority (#3941)
v2.11.0
[2.11.0] - 2026-03-19
Added
- Added a
WebSocketPathfield toUnityTransport.ConnectionData(which also shows up in the inspector if "Use WebSockets" is checked) that controls the path clients will connect to and servers/hosts will listen on when using WebSockets. (#3903) NetworkTransport.EarlyUpdateandNetworkTransport.PostLateUpdateare now public. For the vast majority of users, there's really no point in ever calling those methods directly (the NetworkManager handles it). It's only useful if wrapping transports outside of NGO. (#3890)
Fixed
- Fixed issue where starting the
NetworkManagerwithinOnClientStoppedorOnServerStoppedresulted in a broken NetworkManager state. (#3908) - Fixed issue where an attachable could log an error upon being de-spawned during shutdown. (#3589)
- NestedNetworkVariables initialized with no value no longer throw an error. (#3891)
- Fixed NetworkShow behavior when it is called twice. (#3867)
Removed
- Removed un-needed exceptions on
NetworkObject.cs. (#3867)
Obsolete
NotListeningExceptionis now marked as obsolete as it is no longer used internally. (#3867)
v2.10.0
[2.10.0] - 2026-03-01
Added
- The
NetworkMetricsPipelineStagefor Unity Transport is now part of the public API. This allows using it in custom implementations ofINetworkStreamDriverConstructorthat want to maintain compatibility with the multiplayer tools package. (#3853)
Changed
- Updating usage of deprecated
FindObjectsByType(FindObjectsSortMode)and enumFindObjectSortModein 6000.4 and 6000.5. (#3857)
Fixed
- Fixed
NetworkTransformissue where a user could enable UseUnreliableDeltas while SwitchTransformSpaceWhenParented was also enabled (and vice versa). (#3875) - Fixed issue where
NetworkVariablewas not properly synchronizing to changes made by the spawn and write authority duringOnNetworkSpawnandOnNetworkPostSpawn. (#3878) - Fixed issue where
NetworkManagerwas not cleaning itself up if an exception was thrown while starting. (#3864) - Prevented a
NullReferenceExceptionin UnityTransport when using a customINetworkStreamDriverConstructorthat doesn't use all the default pipelines and the multiplayer tools package is installed. (#3853)
v2.9.2
[2.9.2] - 2025-02-11
Fixed
- Fixed issue where
NetworkVariablewas not properly synchronizing to changes made by the spawn and write authority duringOnNetworkSpawnandOnNetworkPostSpawn. (#3878)
v2.8.2
[2.8.2] - 2025-02-11
Fixed
- Fixed issue where
NetworkVariablewas not properly synchronizing to changes made by the spawn and write authority duringOnNetworkSpawnandOnNetworkPostSpawn. (#3878)
v2.9.1
[2.9.1] - 2026-02-05
Changed
- Updating usage of deprecated
FindObjectsByType(FindObjectsSortMode)and enumFindObjectSortModein 6000.4 and 6000.5. (#3857)