Open RudAns opened 7 months ago
不过,通过修改Mono.Cecil过滤掉这些dll可以解决 我就提一下~~~
AssemblyResolutionException: Failed to resolve assembly: 'Sirenix.OdinInspector.Attributes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.TypeReference.Resolve () (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.SignatureReader.ReadCustomAttributeEnum (Mono.Cecil.TypeReference enum_type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.SignatureReader.ReadCustomAttributeElementValue (Mono.Cecil.TypeReference type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.SignatureReader.ReadCustomAttributeElement (Mono.Cecil.TypeReference type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.SignatureReader.ReadCustomAttributeFixedArgument (Mono.Cecil.TypeReference type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.SignatureReader.ReadCustomAttributeConstructorArguments (Mono.Cecil.CustomAttribute attribute, Mono.Collections.Generic.Collection`1[T] parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.MetadataReader.ReadCustomAttributeSignature (Mono.Cecil.CustomAttribute attribute) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.CustomAttribute.<Resolve>b__35_0 (Mono.Cecil.CustomAttribute attribute, Mono.Cecil.MetadataReader reader) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleDefinition.Read[TItem] (TItem item, System.Action`2[T1,T2] read) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.CustomAttribute.Resolve () (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.CustomAttribute.get_ConstructorArguments () (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadCustomAttributes (Mono.Cecil.ICustomAttributeProvider provider) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadFields (Mono.Cecil.TypeDefinition type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadType (Mono.Cecil.TypeDefinition type) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadTypes (Mono.Collections.Generic.Collection`1[T] types) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadModule (Mono.Cecil.ModuleDefinition module, System.Boolean resolve_attributes) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.<ReadModule>b__2_0 (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataReader reader) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleDefinition.Read[TItem] (TItem item, System.Action`2[T1,T2] read) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ImmediateModuleReader.ReadModule () (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleReader.CreateModule (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleDefinition.ReadModule (Mono.Disposable`1[T] stream, System.String fileName, Mono.Cecil.ReaderParameters parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName, Mono.Cecil.ReaderParameters parameters) (at <ee112d265aad4e098cf6cf7bf2806b0e>:0) com.bbbirder.injection.editor.InjectHelper.InjectAssembly (com.bbbirder.injection.InjectionInfo[] injections, System.String inputAssemblyPath, System.String outputAssemblyPath, System.Boolean isEditor, UnityEditor.BuildTarget buildTarget) (at Packages/com.bbbirder.injection@1.3.21/Editor/InjectHelper.cs:46) com.bbbirder.injection.editor.UnityInjectUtils.VisitAssembly (System.String assemblyPath, com.bbbirder.injection.InjectionInfo[] injections, System.Boolean isEditor, UnityEditor.BuildTarget buildTarget) (at Packages/com.bbbirder.injection@1.3.21/Editor/UnityInjectUtils.cs:249) com.bbbirder.injection.editor.UnityInjectUtils.InjectTargetMode (com.bbbirder.injection.InjectionInfo[] injections, System.Boolean isEditor, UnityEditor.BuildTarget buildTarget) (at Packages/com.bbbirder.injection@1.3.21/Editor/UnityInjectUtils.cs:180) com.bbbirder.injection.editor.UnityInjectUtils.InjectEditor (System.Reflection.Assembly[] assemblies) (at Packages/com.bbbirder.injection@1.3.21/Editor/UnityInjectUtils.cs:151) com.bbbirder.injection.editor.UnityInjectUtils.<Install>g__InjectEditorDelayed|1_3 () (at Packages/com.bbbirder.injection@1.3.21/Editor/UnityInjectUtils.cs:119) UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <308d48a21a3e462ba091bd758b25b1e6>:0)
你好,@RudAns 。感谢你的分享,这个问题我之后会留意
不过,通过修改Mono.Cecil过滤掉这些dll可以解决 我就提一下~~~