Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ static int ProcessInstruction(Logger Log, SyncVarAccessLists syncVarAccessLists,
// [SyncVar]?
if (field.HasCustomAttribute<SyncVarAttribute>())
{
// support SyncVars in generic components like Comp<T>: NetworkBehaviour
// https://github.com/MirrorNetworking/Mirror/pull/4093/
if (field.Module == md.Module)
Comment thread
miwarnec marked this conversation as resolved.
Resolved
{
ProcessSetInstruction(syncVarAccessLists, md, instr, field);
return iCount;
}

// ILPostProcessor would need to Process() the assembly's
// references before processing this one.
// we can not control the order.
Expand Down
Loading