diff --git a/Assets/Mirror/Editor/Weaver/Weaver.cs b/Assets/Mirror/Editor/Weaver/Weaver.cs index acb88273d..3c7d15db7 100644 --- a/Assets/Mirror/Editor/Weaver/Weaver.cs +++ b/Assets/Mirror/Editor/Weaver/Weaver.cs @@ -121,12 +121,19 @@ bool WeaveModule(ModuleDefinition moduleDefinition) foreach (TypeDefinition td in moduleDefinition.Types) { + // weave base type: Log.Warning($"WEAVER CONSIDERING: {td.FullName}"); if (td.IsClass && td.BaseType.CanBeResolved()) { modified |= WeaveNetworkBehavior(td); modified |= ServerClientAttributeProcessor.Process(weaverTypes, Log, td, ref WeavingFailed); } + + // TODO weave nested types recursively + foreach (TypeDefinition nestedTd in td.NestedTypes) + { + Log.Warning($" NESTED: {nestedTd.FullName}"); + } } watch.Stop();