diff --git a/Mirror/Runtime/NetworkBehaviour.cs b/Mirror/Runtime/NetworkBehaviour.cs index cf1921d27..62e59716b 100644 --- a/Mirror/Runtime/NetworkBehaviour.cs +++ b/Mirror/Runtime/NetworkBehaviour.cs @@ -315,7 +315,8 @@ internal bool InvokeSyncEventDelegate(int cmdHash, NetworkReader reader) { Invoker invoker; if (s_CmdHandlerDelegates.TryGetValue(cmdHash, out invoker) && - invoker.invokeType == UNetInvokeType.SyncEvent) + invoker.invokeType == UNetInvokeType.SyncEvent && + invoker.invokeClass.IsInstanceOfType(this)) { invoker.invokeFunction(this, reader); return true;