Skip to content

Commit 9a999ba

Browse files
Larah ArmstrongchrispopeGrave18johann-r-unityBriancoughlin
authored
Sync develop with main (#807)
* delete event loop file from TP v2.0 docs (#799) * delete event loop file from TP v2.0 docs delete event loop file from TP v2.0 docs * Removing event loop from sidebars Removing event loop from sidebars * Update NGO changelog for 1.0.1 and 1.0.2 (#774) * Fixed typo in github link (#765) https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/blob/main/Assets/Scripts/Gameplay/ConnectionManagement/ServerGameNetPortal.css#L176 => https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/blob/main/Assets/Scripts/Gameplay/ConnectionManagement/ServerGameNetPortal.cs#L176 * update changelog for NGO 1.0.1 and 1.0.2 * MTT-4369 Update UTP documentation to 2.0 documentation structure * Update version-2.0.0-sidebars.json * Removed .bak files * Update NGO 1.0.1 changelog Co-authored-by: Grave <[email protected]> Co-authored-by: Johann Ruwet <[email protected]> * Add changelog for UTP 1.3.0 (#801) * fix broken link to client driven sample (#804) * delete event loop file on main (#798) * delete event loop file on main delete event loop file on main, retaining on develop * Update TP v sidebars.js Update TP v sidebars.js removing from TOC * Update version-2.0.0-sidebars.json Co-authored-by: Brian Coughlin <[email protected]> * Fix broken link to client-driven sample Fix broken link to client-driven sample Co-authored-by: Brian Coughlin <[email protected]> Co-authored-by: Larah Armstrong <[email protected]> * Sync sidebar (#808) * delete event loop file on main (#798) * delete event loop file on main delete event loop file on main, retaining on develop * Update TP v sidebars.js Update TP v sidebars.js removing from TOC * Update version-2.0.0-sidebars.json Co-authored-by: Brian Coughlin <[email protected]> * Update NGO changelog for 1.0.1 and 1.0.2 (#774) * Fixed typo in github link (#765) https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/blob/main/Assets/Scripts/Gameplay/ConnectionManagement/ServerGameNetPortal.css#L176 => https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/blob/main/Assets/Scripts/Gameplay/ConnectionManagement/ServerGameNetPortal.cs#L176 * update changelog for NGO 1.0.1 and 1.0.2 * MTT-4369 Update UTP documentation to 2.0 documentation structure * Update version-2.0.0-sidebars.json * Removed .bak files * Update NGO 1.0.1 changelog Co-authored-by: Grave <[email protected]> Co-authored-by: Johann Ruwet <[email protected]> * delete event loop file from TP v2.0 docs (#799) * delete event loop file from TP v2.0 docs delete event loop file from TP v2.0 docs * Removing event loop from sidebars Removing event loop from sidebars * Add changelog for UTP 1.3.0 (#801) * fix broken link to client driven sample (#804) * delete event loop file on main (#798) * delete event loop file on main delete event loop file on main, retaining on develop * Update TP v sidebars.js Update TP v sidebars.js removing from TOC * Update version-2.0.0-sidebars.json Co-authored-by: Brian Coughlin <[email protected]> * Fix broken link to client-driven sample Fix broken link to client-driven sample Co-authored-by: Brian Coughlin <[email protected]> Co-authored-by: Larah Armstrong <[email protected]> * Fix sidebar Co-authored-by: Christopher Pope <[email protected]> Co-authored-by: Brian Coughlin <[email protected]> Co-authored-by: Grave <[email protected]> Co-authored-by: Johann Ruwet <[email protected]> Co-authored-by: Christopher Pope <[email protected]> Co-authored-by: Grave <[email protected]> Co-authored-by: Johann Ruwet <[email protected]> Co-authored-by: Brian Coughlin <[email protected]>
1 parent c8c04b6 commit 9a999ba

File tree

4 files changed

+78
-2
lines changed

4 files changed

+78
-2
lines changed

docs/learn/bitesize/bitesize-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Bitesize Samples repository provides a series of sample code as modules to u
77

88
* [2D Space Shooter Sample](bitesize-spaceshooter.md) - Learn more about physics movement and status effects using Netcode `NetworkVariables` and `ObjectPooling`.
99
* [Invaders Sample](bitesize-invaders.md) - Learn more about game flow, modes, unconventional movement networked, and a shared timer.
10-
* [Client Driven Sample](bitesize-clientdriven) - Learn more about Client driven movements, networked physics, spawning vs statically placed objects, object reparenting
10+
* [Client Driven Sample](bitesize-clientdriven.md) - Learn more about Client driven movements, networked physics, spawning vs statically placed objects, object reparenting
1111

1212
## Requirements
1313

releases/netcode/1-0-0.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,53 @@ This release contains features, updates, bug fixes, and refactoring for the Net
1212
| -- | -- | -- | -- | -- |
1313
| Netcode for GameObjects | 1.0.0| Pre-Release | October 21, 2021 | 2020.3 and later |
1414
| Netcode for GameObjects | 1.0.0| Release | June 27, 2022 | 2020.3 and later |
15+
| Netcode for GameObjects | 1.0.1| Release | August 25, 2022 | 2020.3 and later |
16+
| Netcode for GameObjects | 1.0.2| Release | September 13, 2022 | 2020.3 and later |
1517

1618
:::note
1719
Netcode for GameObjects supports Windows, MacOS, Ubuntu 20.4 LTS and Ubuntu 18.04 LTS versions of Unity Editor and Player
1820
:::
1921

22+
## [1.0.2] - 2022-09-13
23+
24+
### Fixed
25+
26+
* Fixed issue where `NetworkTransform` was not honoring the `InLocalSpace` property on the authority side during `OnNetworkSpawn`. ([#2170](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2170))
27+
* Fixed issue where `NetworkTransform` was not ending extrapolation for the previous state causing non-authoritative instances to become out of sync. ([#2170](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2170))
28+
* Fixed issue where `NetworkTransform` was not continuing to interpolate for the remainder of the associated tick period. ([#2170](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2170))
29+
* Fixed issue during `NetworkTransform.OnNetworkSpawn` for non-authoritative instances where it was initializing interpolators with the replicated network state, which now only contains the transform deltas that occurred during a network tick and not the entire transform state. ([#2170](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2170))
30+
31+
## [1.0.1] - 2022-08-25
32+
33+
* Changed version to 1.0.1. ([#2131](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2131))
34+
* Updated dependency on `com.unity.transport` to 1.2.0. ([#2129](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2129))
35+
* When using `UnityTransport`, _reliable_ payloads can now exceed the configured `Max Payload Size`. Unreliable payloads remain bounded by this setting. ([#2081](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2081))
36+
* Added performance improvements for cases with many `NetworkObjects` by not iterating over all unchanged `NetworkObjects`.
37+
38+
39+
### Fixed
40+
41+
42+
43+
* Fixed an issue where not sending all `NetworkVariables` to all clients when a client connects to a server. ([#1987](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/1987))
44+
* Fixed an issue where reading/writing more than 8 bits at a time with BitReader/BitWriter would write/read from the wrong place, returning an incorrect result. ([#2130](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2130))
45+
* Fixed an issue with the internal `NetworkTransformState.m_Bitset` flag not getting cleared upon the next tick advancement. ([#2110](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2110))
46+
* Fixed an interpolation issue with `NetworkTransform.Teleport`. ([#2110](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2110))
47+
* Fixed an issue where the authoritative side was interpolating its transform. ([#2110](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2110))
48+
* Fixed an issue where Owner-written `NetworkVariable` infinitely writes to themselves. ([#2109](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/2109))
49+
* Fixed an issue where `NetworkList` showed when inserting at the end of a `NetworkList`. ([#2099](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2099))
50+
* Fixed an issue where a client owner of a `NetworkVariable` with both owners' read and write permissions would not update the server side when changed. ([#2097](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2097))
51+
* Fixed an issue where attempting to spawn a parent `GameObject` with a `NetworkObject` component attached (that has one or more inactive child `GameObjects`), that are inactive in the hierarchy. Now, with `NetworkBehaviour` components it will no longer attempt to spawn the associated `NetworkBehaviour`(s) or invoke ownership changed notifications but will log a warning message. ([#2096](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2096))
52+
* Fixed an issue where destroying a `NetworkBehaviour` would not deregister it from the parent `NetworkObject`, leading to exceptions when the parent was later destroyed. ([#2091](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2091))
53+
* Fixed an issue where `NetworkObject.NetworkHide` was despawning and destroying, as opposed to only despawning, in-scene placed `NetworkObjects`. ([#2086](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2086))
54+
* Fixed an issue where `NetworkAnimator` synchronized transitions twice due to detecting the change in animation state once a trigger starts a transition. ([#2084](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2084))
55+
* Fixed an issue where `NetworkAnimator` would not synchronize a looping animation for late joining clients if it was at the very end of its loop. ([#2076](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2076))
56+
* Fixed issue where `NetworkAnimator` was not removing its subscription from `OnClientConnectedCallback` when despawned during the shutdown sequence. ([#2074](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2074))
57+
* Fixed an issue where `IsServer` and `IsClient` are set to false before the object despawns during the shutdown sequence. ([#2074](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2074))
58+
* Fixed an issue with the `NetworkList Value` event on the server. `PreviousValue` is now set correctly when a new value is set through the property setter. ([#2067](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/2067))
59+
* Fixed an issue where `NetworkLists` is not populating on the client. `NetworkList`. It now uses the most recent list instead of the list at the end of the previous frame when sending full updates to a dynamically spawned `NetworkObject`. The difference in behavior is required because scene management spawns those objects at a different time in the frame, relative to updates. ([#2062](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/issues/2062))
60+
61+
2062
## [1.0.0] - 2022-06-27
2163

2264
- Changed version to 1.0.0. (#2046)
@@ -36,6 +78,7 @@ Netcode for GameObjects supports Windows, MacOS, Ubuntu 20.4 LTS and Ubuntu 18.0
3678
- (API Breaking) `ConnectionApprovalCallback` is no longer an `event` and will not allow more than 1 handler registered at a time. Also, `ConnectionApprovalCallback` is now a `Func<>` taking `ConnectionApprovalRequest` in and returning `ConnectionApprovalResponse` back out (#1972)
3779

3880
### Fixed
81+
3982
- Fixed issue where dynamically spawned `NetworkObject`s could throw an exception if the scene of origin handle was zero (0) and the `NetworkObject` was already spawned. (#2017)
4083
- Fixed issue where `NetworkObject.Observers` was not being cleared when despawned. (#2009)
4184
- Fixed `NetworkAnimator` could not run in the server authoritative mode. (#2003)

releases/transport/transport-1-0-0+.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,55 @@ id: transport-1-0-0
55

66
The [Unity Transport](../../transport/current/about) `com.unity.transport` package respository adds multiplayer and network features to your project. See the following changelog for new features, updates, fixes, and upgrade information.
77

8+
## [1.3.0] - 2022-09-27
9+
10+
### New features
11+
12+
* Added a way to obtain `RelayAllocationId`, `RelayConnectionData`, and `RelayHMACKey` structures from byte arrays using the static `FromByteArray` method.
13+
* Added a new constructor for `RelayServerData` that is now provided with argument types that better match those available in the models returned by the [Relay SDK](https://docs.unity.com/relay/SDK/sdk.html). **Note**: We also updated the "RelayPing" sample to use the new constructor.
14+
* Added new constructors for `RelayServerData` that are provided with argument types that better match those available in the models returned by the [Relay SDK](https://docs.unity.com/relay/SDK/sdk.html). **Note**: We also updated the "RelayPing" sample to use the new constructor.
15+
* Updated `NetworkSettings` to include a `IsCreated` property that can be used to check if it's been disposed of or not.
16+
* Added new versions of `NetworkSettings.WithSecureClientParameters` and `NetworkSettins.WithSecureServerParameters` . These new versions take strings as parameters instead of references to fixed strings. The older versions are still available and fully supported.
17+
* Added a new version of `NetworkSettings.WithSecureClientParameters` that only takes the server name as a parameter. You can use this when the server uses certificates from a recognized CA (certificate authority).
18+
19+
### Changes
20+
21+
* Added a warning that triggers if binding to a port where another application is listening. The binding operation still succeeds in that scenario, but this will fail in Unity Transport 2.0 (which disables address reuse on the sockets used by the default interface).
22+
* Deprecated the constructor for `RelayServerData` that was taking strings for the allocation ID, connection data, and key. Use the new constructor (see above) or the existing lower-level constructor instead.
23+
* Deprecated the `RelayServerData.ComputeNewNonce` method. You can provide a custom nonce using the "low level" constructor of `RelayServerData`. The new constructor selects a new nonce automatically.
24+
* Added the option to call `Connect` without an endpoint if you’re using [Relay](https://docs.unity.com/relay) (the endpoint would be ignored anyway). This extension to `NetworkDriver` is provided in the `Unity.Networking.Transport.Relay` namespace.
25+
26+
### Fixes
27+
28+
* Fixed a possible stack overflow error that occurs if the `receive` or `send` queue parameters are configured with very large values (>15,000).
29+
* Prevented an issue where a warning about having too many pipeline updates would be spammed after a connection was closed.
30+
* Fixed an issue where a duplicated reliable packet wouldn't be processed correctly, which could possibly lead to the entire reliable pipeline stage stalling (not being able to send new packets).
31+
* Fixed an issue where pipeline updates would be run too many times, which would waste CPU and could lead to the warning about having too many pipeline updates being erroneously logged.
32+
* Fixed issues with `ReliableSequencePipelineStage` that would, in rare circumstances, lead to failure to deliver a reliable packet.
33+
834
## [1.2.0] - 2022-08-16
935

1036
### Fixes
37+
1138
* Fixed a lag issue with iOS when switching app from being in background to resuming use.
1239

1340
## [1.1.0] - 2022-06-14
1441

1542
### New features
43+
1644
* A `DataStreamReader` can now be passed to another job without triggering the job safety system.
1745
* A `GetRelayConnectionStatus` method has been added to `NetworkDriver` to query the status of the connection to the Relay server.
1846

1947
### Changes
48+
2049
* `NetworkSettings.WithDataStreamParameters` is now obsolete. The functionality still works and will remain supported for version 1.X of the package, but will be removed in version 2.0. The reason for the removal is that in 2.0 the data stream size is always dynamically-sized to avoid out-of-memory errors.
2150
* `NetworkSettings.WithPipelineParameters` is now obsolete. The functionality still works and will remain supported for version 1.X of the package, but will be removed in version 2.0, where pipeline buffer sizing is handled internally.
2251
* Updated Burst dependency to 1.6.6.
2352
* Updated Collections dependency to 1.2.4.
2453
* Updated Mathematics dependency to 1.2.6.
2554

2655
### Fixes
56+
2757
* `BeginSend` would not return an error if called on a closed connection before the next `ScheduleUpdate` call.
2858
* Fixed a warning if using the default maximum payload size with DTLS.
2959
* Removed an error log when receiving messages on a closed DTLS connection (this scenario is common if there were in-flight messages at the moment of disconnection).
@@ -32,4 +62,5 @@ The [Unity Transport](../../transport/current/about) `com.unity.transport` packa
3262
## [1.0.0] - 2022-03-28
3363

3464
### Changes
65+
3566
* Changed version to 1.0.0.

yarn.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8556,7 +8556,9 @@ mdurl@^1.0.0:
85568556
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
85578557
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
85588558

8559-
mdx-mermaid@^v1.3.0:
8559+
8560+
mdx-mermaid@^1.3.2:
8561+
85608562
version "1.3.2"
85618563
resolved "https://registry.yarnpkg.com/mdx-mermaid/-/mdx-mermaid-1.3.2.tgz#9a9d335368de88f0c771daf12dde855bc6b67d57"
85628564
integrity sha512-8kw0tg3isKKBFzFwoe2DhIaEgKYtVeJXQtxZCCrdTPO0CTpXHnTHT0atDqsp7YkXi5iUCp/zAZPZu1cmr68T3w==

0 commit comments

Comments
 (0)