From ff5bd94c9c71e4a141ee2796047c161a2c762b3d Mon Sep 17 00:00:00 2001 From: mischa Date: Fri, 23 Jun 2023 11:09:45 +0800 Subject: [PATCH] FIXES NESTED. but only one level deep --- Assets/Mirror/Editor/Weaver/Weaver.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Editor/Weaver/Weaver.cs b/Assets/Mirror/Editor/Weaver/Weaver.cs index 3c7d15db7..7e61e7510 100644 --- a/Assets/Mirror/Editor/Weaver/Weaver.cs +++ b/Assets/Mirror/Editor/Weaver/Weaver.cs @@ -133,6 +133,8 @@ bool WeaveModule(ModuleDefinition moduleDefinition) foreach (TypeDefinition nestedTd in td.NestedTypes) { Log.Warning($" NESTED: {nestedTd.FullName}"); + modified |= WeaveNetworkBehavior(nestedTd); + modified |= ServerClientAttributeProcessor.Process(weaverTypes, Log, nestedTd, ref WeavingFailed); } }