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
## [1.0.12] - 2023-06-19
### Changed
* Updated com.unity.entities dependency to 1.0.11
### Fixed
* `MultiplayerPlayModeWindow > Dump Packet Logs` now works more reliably, now works with NUnit tests, and dump files are named with more context.
* Fixed bug in `GhostSendSystem` that caused it to not replicate ghosts when enabling packet dumps. `GhostValuesAreSerialized_WithPacketDumpsEnabled` test added.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+11
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Changelog
2
2
3
+
4
+
## [1.0.12] - 2023-06-19
5
+
6
+
### Changed
7
+
* Updated com.unity.entities dependency to 1.0.11
8
+
9
+
### Fixed
10
+
*`MultiplayerPlayModeWindow > Dump Packet Logs` now works more reliably, now works with NUnit tests, and dump files are named with more context.
11
+
* Fixed bug in `GhostSendSystem` that caused it to not replicate ghosts when enabling packet dumps. `GhostValuesAreSerialized_WithPacketDumpsEnabled` test added.
varwarning=(FixedString512Bytes)FixedString.Format("In '{0}', NetCode RPC {1} has not been consumed or destroyed for '{2}' (MaxRpcAgeFrames) frames!",worldName,entity.ToFixedString(),command.Age);
33
-
warning.Append((FixedString128Bytes)" Assumed unhandled. Call .Consume(), or remove the RPC component, or destroy the entity.");
32
+
varwarning=(FixedString512Bytes)$"[{worldName}] NetCode RPC {entity.ToFixedString()} has not been consumed or destroyed for '{command.Age}' (MaxRpcAgeFrames) frames! Assumed unhandled. Either a) call .Consume(), or b) remove the ReceiveRpcCommandRequestComponent component, or c) destroy the entity.";
Copy file name to clipboardexpand all lines: Runtime/Rpc/RpcCollection.cs
+3-6
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,10 @@ public void RegisterRpc(ComponentType type, PortableFunctionPointer<RpcExecutor.
88
88
{
89
89
#if ENABLE_UNITY_COLLECTIONS_CHECKS
90
90
if(rpcData.RpcType==type)
91
-
thrownewInvalidOperationException(
92
-
String.Format("Registering RPC {0} multiple times is not allowed",type.GetManagedType()));
93
-
thrownewInvalidOperationException(
94
-
String.Format("Type hash collision between types {0} and {1}",type.GetManagedType(),rpcData.RpcType.GetManagedType()));
91
+
thrownewInvalidOperationException($"Registering RPC {type.ToFixedString()} multiple times is not allowed! Existing: {rpcData.RpcType.ToFixedString()}!");
92
+
thrownewInvalidOperationException($"StableTypeHash collision between types {type.ToFixedString()} and {rpcData.RpcType.ToFixedString()} while registering RPC!");
95
93
#else
96
-
thrownewInvalidOperationException(
97
-
String.Format("Hash collision or multiple registrations for {0}",type.GetManagedType()));
94
+
thrownewInvalidOperationException($"Hash collision or multiple registrations for {type.ToFixedString()} while registering RPC! Existing: {rpcData.TypeHash}!");
0 commit comments