From a93cb61bb01ed4b3088af1543ac7a3f4c235ea4f Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 2 Apr 2022 12:29:20 +0800 Subject: [PATCH] rmv --- .../Editor/Weaver/Processors/SyncVarAttributeAccessReplacer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeAccessReplacer.cs b/Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeAccessReplacer.cs index e1a070fb3..d6aa9585f 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeAccessReplacer.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeAccessReplacer.cs @@ -183,7 +183,7 @@ static int ProcessLoadAddressInstruction(SyncVarAccessLists syncVarAccessLists, !syncVarAccessLists.replacementGetterProperties.ContainsKey(opField) && // getter md.Name != NetworkBehaviourProcessor.DeserializeMethodName) // Deserialize { - Log.Error($"{md.FullName} accesses [SyncVar] {opField.Name} by reference. [REPLACEMENT={replacement.Name}] This is not supported, because [SyncVar]s are internally represented as properties, and C# can not access properties by reference."); + Log.Error($"{md.FullName} accesses [SyncVar] {opField.Name} by reference. This is not supported, because [SyncVar]s are internally represented as properties, and C# can not access properties by reference."); WeavingFailed = true; } }