mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
rmv
This commit is contained in:
parent
af9f92713e
commit
a93cb61bb0
@ -183,7 +183,7 @@ static int ProcessLoadAddressInstruction(SyncVarAccessLists syncVarAccessLists,
|
|||||||
!syncVarAccessLists.replacementGetterProperties.ContainsKey(opField) && // getter
|
!syncVarAccessLists.replacementGetterProperties.ContainsKey(opField) && // getter
|
||||||
md.Name != NetworkBehaviourProcessor.DeserializeMethodName) // Deserialize
|
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;
|
WeavingFailed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user