mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
"to the monsters, we're the monsters"
This commit is contained in:
parent
ce75d69659
commit
28d1c402bd
@ -175,6 +175,7 @@ static int ProcessLoadAddressInstruction(SyncVarAccessLists syncVarAccessLists,
|
||||
// property. that's allowed. everywhere else it's not.
|
||||
// for example, Networkhealth generated property setter calls
|
||||
// NetworkBehaviour.GeneratedSyncVarSetter(ref originalField, ...)
|
||||
// TODO also need to ignore generated Deserialize
|
||||
if (md != replacement)
|
||||
{
|
||||
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.");
|
||||
|
Loading…
Reference in New Issue
Block a user