You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 699cb27
Browse filesBrowse the repository at this point in the historyBrowse files
fix: FastBufferWriter growth from a size of 0 (up-port) (#4224)
* fix: FastBufferWriter growth from a size of 0
A growable FastBufferWriter created with a size of 0 never returned from its
first write that needed to grow: Grow doubled a capacity of 0, so its loop never
reached the required size. Growth now starts from at least 1 byte.
UUM-158589
* chore: CHANGELOG PR number
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
24
24
25
25
### Fixed
26
26
27
+
- Issue where a growable `FastBufferWriter` created with a size of 0 never returned from its first write or `TryBeginWrite` call that needed the buffer to grow. (#4224)
27
28
- Issue where a `FastBufferReader` created with an offset and the default length of -1 read past the end of its source. The `ArraySegment<byte>` overload that takes an offset now applies it from the start of the segment. (#4222)
28
29
- Issue where a client promoted to session owner could throw an exception when synchronizing a newly joining client. (#4214)
29
30
- Issue where `NetworkManager.OnNetCodeDisconnect` was not invoked when a connection closed during a hybrid mode session, only when the session shut down. (#4209)
0 commit comments