RimWorld

RimWorld

Altered Carbon 2: ReSleeved
Bug: Map generation error loop
Whenever I go to choose a tile on the map when starting a new game, it causes a map generation error. But it doesn't let me back out or another, it just immediately tries to load the map again which results in a map generation error and it goes on like that forever so I can't even get a HugsLib Log and I really need some help here as I'm running out of ideas.

I'm fairly confident Altered Carbon Is the problem as the problem is fixed when I disable it and the one error I get from AC when I first launch the game in debug mode is about the sleeve gestator. I'm not sure, but I believe it has something to do with the recent update that added needle casting and all that, assuming it's a problem with AC to begin with as this has never happened before.
Last edited by Agent Washington; 22 Feb @ 6:45am
< >
Showing 1-1 of 1 comments
This is the error I get when I first launch the game in the debug log.


[V1024-EBF][ERR] Failed to apply Harmony patches for V1024.EBFramework. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase EBF.Patches.AlteredCarbon.PreFix_AC2_SleeveGestator_Repurposing_Lambda1::TargetMethod() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
[Ref A291500E]
at System.Linq.Enumerable.ElementAt[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Int32 index) [0x0007b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at EBF.Patches.AlteredCarbon.PreFix_AC2_SleeveGestator_Repurposing_Lambda1.TargetMethod () [0x00035] in <a40d270799ec483dbeca10f8f51f583f>:0
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 ---
[Ref 9CBA8010]
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.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x000fb] in <abec11463bc04855a5322a0a868aeb22>:0
--- End of inner exception stack trace ---
[Ref 2CBDAB6]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <abec11463bc04855a5322a0a868aeb22>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <abec11463bc04855a5322a0a868aeb22>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x000a6] in <9270b4f3a0574e6ab5e5325b2e8ba741>:0
- TRANSPILER Dubwise.PerformanceAnalyzer: IEnumerable`1 Analyzer.Profiling.RememberHarmonyIDs:Transpiler(IEnumerable`1 instructions)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
HugsLib.Utils.ModLogger:Error (string,object[])
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:HugsLib.ModBase.ApplyHarmonyPatches_Patch0 (HugsLib.ModBase)
HugsLib.HugsLibController:EnumerateChildMods (bool)
HugsLib.HugsLibController:LoadReloadInitialize ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
< >
Showing 1-1 of 1 comments
Per page: 1530 50