diff --git a/Assets/Mirror/Runtime/NetworkIdentity.cs b/Assets/Mirror/Runtime/NetworkIdentity.cs index a2fbcd34a..96e84641b 100644 --- a/Assets/Mirror/Runtime/NetworkIdentity.cs +++ b/Assets/Mirror/Runtime/NetworkIdentity.cs @@ -1027,7 +1027,7 @@ void OnDeserializeSafely(NetworkBehaviour comp, NetworkReader reader, bool initi catch (Exception e) { // show a detailed error and let the user know what went wrong - logger.LogError($"OnDeserialize failed for: object={name} component={comp.GetType()} sceneId={sceneId:X} length={contentSize}. Possible Reasons:\n" + + logger.LogError($"OnDeserialize failed Exception={e.GetType()} (see below) object={name} component={comp.GetType()} sceneId={sceneId:X} length={contentSize}. Possible Reasons:\n" + $" * Do {comp.GetType()}'s OnSerialize and OnDeserialize calls write the same amount of data({contentSize} bytes)? \n" + $" * Was there an exception in {comp.GetType()}'s OnSerialize/OnDeserialize code?\n" + $" * Are the server and client the exact same project?\n" +