SPEC-7469 Fixed EditorServerInfo packet serialization

This commit is contained in:
pereslav
2021-06-23 15:29:31 +01:00
parent 1c80a2e31e
commit 970dcea16e
5 changed files with 38 additions and 2 deletions
@@ -205,6 +205,7 @@ namespace AzNetworking
NetworkInputSerializer serializer(buffer.GetBuffer(), buffer.GetCapacity());
if (!const_cast<IPacket&>(packet).Serialize(serializer))
{
AZ_Assert(false, "SendReliablePacket: Unable to serialize packet [Type: %d]", packet.GetPacketType());
return false;
}
buffer.Resize(serializer.GetSize());