Keranik / COI-Extended

56 stars 10 forks source link

Error when loading Mod #53

Open Ryuu3rs opened 1 month ago

Ryuu3rs commented 1 month ago

i am getting this error when loading the mod "COI Extended" ~

I dont know what it means at all Please help me out ? <3

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type Mafi.Collections.ImmutableCollections.ImmutableArray1[[Mafi.Core.Mods.ModData, Mafi.Core, Version=0.6.4.0, Culture=neutral, PublicKeyToken=null]], Mafi, Version=0.6.4.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null) at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool) at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <dc753a1061284f8e971ee88ee4826eee>:0 at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <dc753a1061284f8e971ee88ee4826eee>:0 at System.RuntimeType.GetCustomAttributes (System.Boolean inherit) [0x00000] in <dc753a1061284f8e971ee88ee4826eee>:0 at HarmonyLib.HarmonyMethodExtensions.GetFromType (System.Type type) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type) [0x00030] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.Harmony.CreateClassProcessor (System.Type type) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00000] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action`1[T] action) [0x00014] in :0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in :0 at COIExtended.COIExtended..ctor (COIExtended.ExtendedModConfig config) [0x0002b] in :0 at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in :0 --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in :0 at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in :0 at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 at Mafi.Core.Game.GameBuilder.g__instantiateMod|12_1 (System.Reflection.ConstructorInfo constructor, Mafi.Core.Game.GameBuilder+<>c__DisplayClass12_0& ) [0x000b7] in <139248f9f9c9432b9df52565d6e2af59>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0

Keranik commented 1 month ago

Looks like a mod conflict to me, what other mods are you using?

Ryuu3rs commented 1 month ago

just the ones that COI has

On Wed, 24 Jul 2024 at 18:37, Keranik @.***> wrote:

Looks like a mod conflict to me, what other mods are you using?

— Reply to this email directly, view it on GitHub https://github.com/Keranik/COI-Extended/issues/53#issuecomment-2248565608, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPQBGXBXRDJU24DKNIZTUTZN7Q6ZAVCNFSM6AAAAABLM5B6CCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGU3DKNRQHA . You are receiving this because you authored the thread.Message ID: @.***>

-- Thanks Joshua Barresi

Keranik commented 1 month ago

Can you provide additional info? Save game? New game? Mod version? Game version? Etc...