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
Merge branch 'test/multiprocess-tests/base-multiprocess-tests' into test/multiprocess-tests/execute-step-in-context
* test/multiprocess-tests/base-multiprocess-tests:
fix for automation fail right now
fix: (MLAPI.Serialization) 'specified cast is not valid.' on NetworkW… (#951)
Copy file name to clipboardExpand all lines: com.unity.multiplayer.mlapi/Runtime/Serialization/NetworkWriter.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ public void WriteObjectPacked(object value)
210
210
{
211
211
if(!((NetworkObject)value).IsSpawned)
212
212
{
213
-
thrownewArgumentException($"{nameof(NetworkWriter)} cannot write {nameof(NetworkObject)} types that are not spawned. {nameof(GameObject)}: {((GameObject)value).name}");
213
+
thrownewArgumentException($"{nameof(NetworkWriter)} cannot write {nameof(NetworkObject)} types that are not spawned. {nameof(GameObject)}: {((NetworkObject)value).gameObject.name}");
thrownewArgumentException($"{nameof(NetworkWriter)} cannot write {nameof(NetworkBehaviour)} types that are not spawned. {nameof(GameObject)}: {((GameObject)value).name}");
223
+
thrownewArgumentException($"{nameof(NetworkWriter)} cannot write {nameof(NetworkBehaviour)} types that are not spawned. {nameof(GameObject)}: {((NetworkBehaviour)value).gameObject.name}");
privateboolShouldIgnoreTests=>m_IsPerformanceTest&&Application.isEditor||MultiprocessOrchestration.IsUsingUTR();// todo remove UTR check once we have proper automation
22
22
23
23
/// <summary>
24
24
/// Implement this to specify the amount of workers to spawn from your main test runner
0 commit comments