perf: starting on using BitSegment instead of ArraySegment #1177
Test Results
44 tests failed
Details
5283 tests passed
44 tests failed
- Failed test DontAutoSpawnTest in Mirage.Tests.Runtime.Host.CharacterSpawnerTest
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:00.801: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ManualSpawnTest in Mirage.Tests.Runtime.Host.CharacterSpawnerTest
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.054: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientConnRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.293: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientExcludeOwner in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.520: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientOwnerRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.748: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.987: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test HostPlayerShouldReceiveClientStartFinishSceneEvents in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.221: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ServerRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.452: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ServerRpcWithNetworkIdentity in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.712: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ServerRpcWithSender in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.931: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test StopHostTest in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.162: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test StoppingHostShouldCallDisconnectedOnLocalClient in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.394: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ChangeSceneAdditiveLoadTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.622: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ChangeServerSceneExceptionTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.885: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test CheckServerSceneDataNotEmptyTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.124: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientChangeSceneNotNullTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.359: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientChangeSceneTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.586: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientNotReadyMessageTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.823: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientSceneChangedNotNullTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.048: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientSceneChangedTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.268: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test ClientSceneReadyAfterChangedTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.488: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test FinishLoadSceneHostTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.708: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test FinishLoadServerOnlyTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.925: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test HostInvokesFinishSceneChangeEvent in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.152: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test HostInvokesStartSceneChangeEvent in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.401: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test HostPlayerIsNotSentSceneMessage in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.642: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test IsPlayerInSceneTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.895: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test IsPlayerInSceneThrowForInvalidScene in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:07.127: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect - Failed test IsPlayerInSceneThrowForNotFoundScene in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:07.371: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader) at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67 at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91 at Mirage.MessageHandler+<>c__DisplayClass7_0
1[T].g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
... and more.
Annotations
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test DontAutoSpawnTest in Mirage.Tests.Runtime.Host.CharacterSpawnerTest
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:00.801: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ManualSpawnTest in Mirage.Tests.Runtime.Host.CharacterSpawnerTest
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.054: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientConnRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.293: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientExcludeOwner in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.520: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientOwnerRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.748: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:01.987: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test HostPlayerShouldReceiveClientStartFinishSceneEvents in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.221: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ServerRpc in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.452: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ServerRpcWithNetworkIdentity in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.712: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ServerRpcWithSender in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:02.931: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test StopHostTest in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.162: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test StoppingHostShouldCallDisconnectedOnLocalClient in Mirage.Tests.Runtime.Host.HostComponentTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.394: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ChangeSceneAdditiveLoadTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.622: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ChangeServerSceneExceptionTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:03.885: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test CheckServerSceneDataNotEmptyTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.124: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientChangeSceneNotNullTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.359: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientChangeSceneTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.586: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientNotReadyMessageTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:04.823: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientSceneChangedNotNullTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.048: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientSceneChangedTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.268: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test ClientSceneReadyAfterChangedTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.488: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test FinishLoadSceneHostTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.708: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test FinishLoadServerOnlyTest in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:05.925: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test HostInvokesFinishSceneChangeEvent in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.152: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)
Check failure on line 52 in Assets/Mirage/Runtime/Logging/MirageLogHandler.cs
github-actions / Tests Results
Failed test HostInvokesStartSceneChangeEvent in Mirage.Tests.Runtime.Host.NetworkSceneManagerTests
System.NullReferenceException : Object reference not set to an instance of an object
SetUp : Unhandled log message: '[Error] 13:14:06.401: [MessageHandler] System.IndexOutOfRangeException in Message handler (see stack below), Closed connection: connection(Mirage.PipePeerConnection+PipeEndPoint)
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mirage.Serialization.NetworkReader.ReadBytesSegment (System.Int32 count) [0x00044] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/NetworkReader.cs:473
at Mirage.Serialization.CollectionExtensions.ReadBytesAndSizeSegment (Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/CollectionExtensions.cs:134
at Mirage.GeneratedNetworkCode._Read_Mirage.SpawnMessage (Mirage.Serialization.NetworkReader reader) [0x00071] in <2b3c47dd502843108278c9c4e0d41a24>:0
at (wrapper delegate-invoke) System.Func`2[Mirage.Serialization.NetworkReader,Mirage.SpawnMessage].invoke_TResult_T(Mirage.Serialization.NetworkReader)
at Mirage.Serialization.GenericTypesSerializationExtensions.Read[T] (Mirage.Serialization.NetworkReader reader) [0x00013] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/Serialization/GenericTypesSerializationExtensions.cs:67
at Mirage.NetworkDiagnostics.ReadWithDiagnostics[T] (Mirage.Serialization.NetworkReader reader) [0x00011] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/NetworkDiagnostics.cs:91
at Mirage.MessageHandler+<>c__DisplayClass7_0`1[T].<MessageWrapper>g__AdapterFunction|0 (Mirage.INetworkPlayer player, Mirage.Serialization.NetworkReader reader) [0x00001] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:46
at Mirage.MessageHandler.InvokeHandler (Mirage.INetworkPlayer player, System.Int32 msgType, Mirage.Serialization.NetworkReader reader) [0x00021] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:121
at Mirage.MessageHandler.HandleMessage (Mirage.INetworkPlayer player, System.ArraySegment`1[T] packet) [0x00017] in /__w/Mirage/Mirage/Assets/Mirage/Runtime/MessageHandler.cs:93 '. Use UnityEngine.TestTools.LogAssert.Expect
Raw output
Mirage.Logging.MirageLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Assets/Mirage/Runtime/Logging/MirageLogHandler.cs:52)
Mirage.Logging.ILoggerExtensions:LogError (UnityEngine.ILogger,object) (at Assets/Mirage/Runtime/Logging/LogFactory.cs:99)
Mirage.MessageHandler:LogAndCheckDisconnect (Mirage.INetworkPlayer,System.Exception) (at Assets/Mirage/Runtime/MessageHandler.cs:109)
Mirage.MessageHandler:HandleMessage (Mirage.INetworkPlayer,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/MessageHandler.cs:97)
Mirage.NetworkClient/DataHandler:ReceiveMessage (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/NetworkClient.cs:438)
Mirage.PipePeerConnection:receive (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:127)
Mirage.PipePeerConnection:SendReliable (byte[],int,int) (at Assets/Mirage/Runtime/PipePeerConnection.cs:108)
Mirage.SocketLayer.ConnectionExtensions:SendReliable (Mirage.SocketLayer.IConnection,System.ArraySegment`1<byte>) (at Assets/Mirage/Runtime/SocketLayer/Connection/ConnectionExtensions.cs:40)
Mirage.NetworkPlayer:Send (System.ArraySegment`1<byte>,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:201)
Mirage.NetworkPlayer:Send<Mirage.SpawnMessage> (Mirage.SpawnMessage,Mirage.Channel) (at Assets/Mirage/Runtime/NetworkPlayer.cs:185)
Mirage.ServerObjectManager:SendSpawnMessage (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:408)
Mirage.ServerObjectManager:ShowToPlayer (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:256)
Mirage.NetworkIdentity:AddNewObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:1039)
Mirage.NetworkIdentity:RebuildObservers (bool) (at Assets/Mirage/Runtime/NetworkIdentity.cs:991)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:377)
Mirage.ServerObjectManager:Spawn (Mirage.NetworkIdentity,Mirage.INetworkPlayer) (at Assets/Mirage/Runtime/ServerObjectManager.cs:342)
Mirage.ServerObjectManager:Respawn (Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:234)
Mirage.ServerObjectManager:AddCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Mirage/Runtime/ServerObjectManager.cs:226)
Mirage.Tests.ServerInstance:SpawnCharacter (Mirage.INetworkPlayer,Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:98)
Mirage.Tests.ServerInstance:SpawnCharacterForNew (Mirage.NetworkIdentity) (at Assets/Tests/Common/Setup/Instances/ServerInstance.cs:89)
Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:181)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37> (Mirage.Tests.BaseSetups.ServerSetup_Base/<SetupPlayer>d__37&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.ServerSetup_Base:SetupPlayer (Mirage.Tests.IClientInstance,bool)
Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4:MoveNext () (at Assets/Tests/Common/Setup/HostSetupBase.cs:15)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4> (Mirage.Tests.BaseSetups.HostSetup_Base/<ExtraSetup>d__4&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.BaseSetups.HostSetup_Base:ExtraSetup ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:<>n__0 ()
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1:MoveNext () (at Assets/Tests/Editor/NetworkSceneManager/NetworkSceneManagerTests.cs:26)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder:Start<Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1> (Mirage.Tests.Runtime.Host.NetworkSceneManagerTests/<ExtraSetup>d__1&) (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/AsyncUniTaskMethodBuilder.cs:111)
Mirage.Tests.Runtime.Host.NetworkSceneManagerTests:ExtraSetup ()
Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27:MoveNext () (at Assets/Tests/Common/Setup/ServerSetup_Base.cs:80)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1<Mirage.Tests.BaseSetups.ServerSetup_Base/<ServerSeutup>d__27>:Run () (at ./Library/PackageCache/[email protected]/Runtime/CompilerServices/StateMachineRunner.cs:189)
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Library/PackageCache/[email protected]/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<Cysharp.Threading.Tasks.AsyncUnit>:TrySetResult (Cysharp.Threading.Tasks.AsyncUnit) (at ./Library/PackageCache/[email protected]/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/DelayFramePromise:MoveNext () (at ./Library/PackageCache/[email protected]/Runtime/UniTask.Delay.cs:453)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Library/PackageCache/[email protected]/Runtime/Internal/PlayerLoopRunner.cs:104)