Loading assembly failed: "xxx.dll" reason: File does not contain a valid CIL image
然后我打il2cpp包的时候也有类似的问题,在代码裁剪阶段就报错了
Fatal error in Unity CIL Linker Mono.Linker.MarkException: Error processing method: 'xxxxxx' in assembly: 'xxxxx.dll' ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. at Mono.Cecil.PE.Image.ResolveVirtualAddress(UInt32 rva) at Mono.Cecil.Cil.CodeReader.MoveTo(MethodDefinition method) at Mono.Cecil.Cil.CodeReader.ReadMethodBody(MethodDefinition method) ...(省略log)