RimWorld

RimWorld

[NL] Facial Animation - WIP
No faction bases on map when using with Kurin Deluxe
When I load this mod and the Kurin three tailed Fox (Deluxe) mod in the same modlist (with Humanoid Alien Races) I get the following error in debug:

Error in WorldGenStep: System.TypeInitializationException: The type initializer for 'AlienRace.HarmonyPatches' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'FacialAnimation.HarmonyPatches' threw an exception. ---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at FacialAnimation.HarmonyPatches..cctor () [0x0024a] in <0b15c3308991426db938f525e170423b>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.CodeTranspiler+<>c__DisplayClass12_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x0004b] in <212c5fc0752a439c852373c986c00088>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00286] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <212c5fc0752a439c852373c986c00088>:0
at AlienRace.HarmonyPatches..cctor () [0x00abd] in <0464101ca738476aa42570cab08ce88b>:0
--- End of inner exception stack trace ---
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch1(Verse.PawnGenerationRequest)
at RimWorld.Faction.TryGenerateNewLeader () [0x0023c] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001fb] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
at RimWorld.FactionGenerator.GenerateFactionsIntoWorld (System.Collections.Generic.Dictionary`2[TKey,TValue] factionCounts) [0x00076] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00005] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
at RimWorld.Planet.WorldGenerator.GenerateWorld (System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, System.Collections.Generic.Dictionary`2[TKey,TValue] factionCounts) [0x000fd] in <e6d267da40db4a01beb1ee5d02f19dd5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>)
RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

And no factions other than the player faction appear on the map.

Any ideas? When I unload this mod, the error goes away.