[1.1.6] Crash when object properties changed on a different map
Closed this issue · 0 comments
If object properties are changed for objects on a different map than the client it will crash the application.
Crashreport:
System.NullReferenceException: Object reference not set to an instance of an object.
at VTT.Network.Packet.PacketMapObjectGenericData.ListObjects()+MoveNext() in F:\Code\C#\VTT\VTT\Network\Packet\PacketMapObjectGenericData.cs:line 253
at VTT.Network.Packet.PacketMapObjectGenericData.Act(Guid sessionID, Server server, Client client, Boolean isServer) in F:\Code\C#\VTT\VTT\Network\Packet\PacketMapObjectGenericData.cs:line 19
at VTT.Network.NetClient.OnReceived(Byte[] buffer, Int64 offset, Int64 size) in F:\Code\C#\VTT\VTT\Network\Client.cs:line 333
at NetCoreServer.TcpClient.ProcessReceive(SocketAsyncEventArgs e)
at NetCoreServer.TcpClient.OnAsyncCompleted(Object sender, SocketAsyncEventArgs e)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped) at VTT.Network.Packet.PacketMapObjectGenericData.ListObjects()+MoveNext() in F:\Code\C#\VTT\VTT\Network\Packet\PacketMapObjectGenericData.cs:line 253
at VTT.Network.Packet.PacketMapObjectGenericData.Act(Guid sessionID, Server server, Client client, Boolean isServer) in F:\Code\C#\VTT\VTT\Network\Packet\PacketMapObjectGenericData.cs:line 19
at VTT.Network.NetClient.OnReceived(Byte[] buffer, Int64 offset, Int64 size) in F:\Code\C#\VTT\VTT\Network\Client.cs:line 333
at NetCoreServer.TcpClient.ProcessReceive(SocketAsyncEventArgs e)
at NetCoreServer.TcpClient.OnAsyncCompleted(Object sender, SocketAsyncEventArgs e)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped)