From d045918ea7d907cc43d8e1fd93075be5ed76e36f Mon Sep 17 00:00:00 2001 From: vis2k Date: Fri, 14 May 2021 12:41:08 +0800 Subject: [PATCH] add TODO --- Assets/Mirror/Runtime/NetworkServer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index af6695ab7..9648a99bd 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -1400,6 +1400,8 @@ internal static void NetworkLateUpdate() // IMPORTANT: don't forget to return them to pool! // TODO make this easier later. for now aim for // feature parity to not break projects. + // TODO let the entity cache it's own serialization + // and recompute only if it was dirty. if (!serializations.ContainsKey(identity)) { // serialize all the dirty components.