diff --git a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs index 1c28ab421..b1a5ca3bc 100644 --- a/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs +++ b/Assets/Mirror/Editor/Weaver/EntryPointILPostProcessor/ILPostProcessorHook.cs @@ -90,6 +90,7 @@ public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) // resolve mirror assembly // TODO is this safe with ILPP multithreading though? // (it sure has to exist while we process this assembly since it's referenced) + // TODO use our custom resolver. default fails to resolve in ReaderWriterProcessor.LoadMessageReadWriter -> IsInterface extension using (DefaultAssemblyResolver mirrorAsmResolver = new DefaultAssemblyResolver()) using (AssemblyDefinition mirrorAssembly = AssemblyDefinition.ReadAssembly(mirrorAssemblyPath, new ReaderParameters { ReadWrite = false, ReadSymbols = false, AssemblyResolver = mirrorAsmResolver })) {