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:12:54.602: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:54.839: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.081: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.332: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.563: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.790: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.023: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.251: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.496: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.731: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.965: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.201: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.470: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.702: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.959: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.192: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.420: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.644: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.136: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.391: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.627: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.892: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.121: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.382: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.628: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.866: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:01.154: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:01.383: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:54.602: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:54.839: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.081: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.332: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.563: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:55.790: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.023: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.251: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.496: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.731: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:56.965: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.201: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.470: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.702: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:57.959: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.192: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.420: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.644: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:58.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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.136: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.391: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.627: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:12:59.892: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.121: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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:13:00.382: [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 <6c0f79d6fa994c0585f4f62dab2907da>: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)