Skip to content

Commit 1951323

Browse files
committed
Removing useless ForceNetworkSerializeByMemcpy for FixedString32Bytes
Update changelog
1 parent 96c5284 commit 1951323

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Assets/Scripts/Gameplay/GameplayObjects/NetworkNameState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class NetworkNameState : NetworkBehaviour
1919
/// </summary>
2020
public struct FixedPlayerName : INetworkSerializable
2121
{
22-
ForceNetworkSerializeByMemcpy<FixedString32Bytes> m_Name; // using ForceNetworkSerializeByMemcpy to force compatibility between FixedString and NetworkSerializable
22+
FixedString32Bytes m_Name;
2323
public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
2424
{
2525
serializer.SerializeValue(ref m_Name);

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
2020
* Updated boss room's root scene to automatically load child scenes at editor time (#653)
2121

2222
### Changed
23-
* Bump NGO to pre.10 (#678) --> Fix in Boss Room related to the connection approval breaking change.
23+
* Bump NGO to pre.10 (#678) --> Fix in Boss Room related to the connection approval breaking change. Removing useless ForceNetworkSerializeByMemcpy for player names.
2424
* Bump Boss Room to Unity 2021 [MTT-3022] (#620)
2525
* Remove initial ugs popup [MTT-3563] (#650) --> Users who do not use UGS will no longer receive a popup when starting the application telling them how to set it up. It is replaced with a tooltip that appears when hovering on the "Start with Lobby" button with the cursor.
2626
* Folders and assemblies refactor MTT-2623, MTT-2615 (#628) --> work in progress

Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
### Removed
1212
*
1313
### Fixed
14-
*
14+
* Fixed breaking change from NetworkTransform in ClientNetworkTransform
1515
## [1.2.0-pre] - 2022-04-28
1616
### Added
1717
* Client network transform move to samples [MTT-3406] (#629) --> You can now use Boss Room's Utilities package to import ClientNetworkTransform using this line in your manifest file

0 commit comments

Comments
 (0)