RimWorld

RimWorld

ReGrowth: Expanded World Generation (Continued)
This topic has been locked
TurtleShroom 29 Apr, 2022 @ 1:26pm
Bug Reports
Good afternoon.

This is a centralized repository for errors with this Mod. Post your error logs here.


Warm regards,
-TURTLESHROOM
< >
Showing 1-6 of 6 comments
TurtleShroom 29 Apr, 2022 @ 1:28pm 
[BetterLoading] Exception occurred processing mod finalize events! Details: System.TypeInitializationException: The type initializer for 'ESCP_Sload.Main' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method virtual System.Void RimWorld.PawnColumnWorker_Label::DoCell(UnityEngine.Rect rect, Verse.Pawn pawn, RimWorld.PawnTable table) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Method 'RimWorld.PawnColumnWorker_Label.DoCell_Patch0' does not have a method body. at System.Reflection.Emit.DynamicMethod.CreateDynMethod () [0x00044] in <eae584ce26bc40229c1b1aa476bfa589>: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 --- 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 MonoMod.RuntimeDetour.Platforms.DetourRuntimeMonoPlatform.GetMethodHandle (System.Reflection.MethodBase method) [0x00011] in <212c5fc0752a439c852373c986c00088>:0 at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetIdentifiable (System.Reflection.MethodBase method) [0x00000] in <212c5fc0752a439c852373c986c00088>:0 at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin (System.Reflection.MethodBase method) [0x00014] in <212c5fc0752a439c852373c986c00088>:0 at MonoMod.RuntimeDetour.DetourHelper.Pin[T] (T method) [0x00005] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00619] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <212c5fc0752a439c852373c986c00088>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <212c5fc0752a439c852373c986c00088>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <212c5fc0752a439c852373c986c00088>:0 at ESCP_Sload.Main..cctor () [0x00012] in <77c326a51e4d4c5fa409f9742a7d9be5>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0 at BetterLoading.Stage.InitialLoad.StageRunStaticCctors+<StaticConstructAll>d__16.MoveNext () [0x00073] in <3390026af42f414180bf48f96dce7287>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

I keep getting this error again and again. I cannot give you a Hugs Library Log because my game crashes to the desktop on the final loading screen before the map actually beings. I am not sure if this is what is crashing my game or not.
bujiu 29 Apr, 2022 @ 9:43pm 
Error in static constructor of RGExpandedWorldGeneration.HarmonyInit: System.TypeInitializationException: The type initializer for 'RGExpandedWorldGeneration.HarmonyInit' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method virtual System.Void RimWorld.Page_CreateWorldParams::DoWindowContents(UnityEngine.Rect rect) ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RGExpandedWorldGeneration.Page_CreateWorldParams_Patch+<Transpiler>d__12.MoveNext () [0x00415] in <0a33bc73753a413b892071a1181356d3>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00051] 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.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <212c5fc0752a439c852373c986c00088>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <212c5fc0752a439c852373c986c00088>:0
at HarmonyLib.Harmony.PatchAll () [0x0001b] in <212c5fc0752a439c852373c986c00088>:0
at RGExpandedWorldGeneration.HarmonyInit..cctor () [0x0000b] in <0a33bc73753a413b892071a1181356d3>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at (wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers.System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1(System.RuntimeTypeHandle)
at StartupImpact.Patch.StaticConstructorOnStartupUtilityCallAll.Prefix () [0x00059] in <844a17ebd71c4d8bb5a7958aa41b3802>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
StartupImpact.Patch.StaticConstructorOnStartupUtilityCallAll:Prefix ()
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch5 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
TurtleShroom 4 May, 2022 @ 8:31am 
InvalidCastException: Specified cast is not valid. at RGExpandedWorldGeneration.Page_CreateWorldParams_Patch.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) [0x002d9] in <5660b4c9cf004e12aa079fb19a6d9a80>:0 at RGExpandedWorldGeneration.Page_CreateWorldParams_Patch+<>c__DisplayClass26_0.<StartRefreshWorldPreview>b__0 () [0x000d7] in <5660b4c9cf004e12aa079fb19a6d9a80>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) (Filename: <5660b4c9cf004e12aa079fb19a6d9a80> Line: 0) InvalidCastException: Specified cast is not valid. at RGExpandedWorldGeneration.Page_CreateWorldParams_Patch.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) [0x00318] in <5660b4c9cf004e12aa079fb19a6d9a80>:0 at RGExpandedWorldGeneration.Page_CreateWorldParams_Patch+<>c__DisplayClass26_0.<StartRefreshWorldPreview>b__0 () [0x000d7] in <5660b4c9cf004e12aa079fb19a6d9a80>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) (Filename: <5660b4c9cf004e12aa079fb19a6d9a80> Line: 0) Attempting to load values from save file and inside xmlnode System.Xml.XmlElement Not loading a save game (exception caught)


My game crashed when I tried to generate a new World. For this reason, I do not have a Hugs Library Log to give you. These were the errors the game showed me at the end, so I can at least confirm the problem is connected to this Mod.
Black Jesus 5 May, 2022 @ 8:17pm 
I'm using the sliders to change how biomes generate. The multiplier slider has no effect and the offset slider seems to do nothing if set to a negative value, setting it to 1 causes it to spam the biome over who sections of the planet. I was changing some of my island biomes and with temperate island offset set to 1 every ocean tile on the planet was converted.

The other issues I am having is a series of red errors that I get when sitting at the planet seed screen. I included my logs here https://gist.github.com/0c492414d2ca4549527b45d719cd1671
And a screenshot https://imgur.com/a/6L7X0Hz
TurtleShroom 6 May, 2022 @ 9:02am 
Originally posted by Black Jesus:
I'm using the sliders to change how biomes generate. The multiplier slider has no effect and the offset slider seems to do nothing if set to a negative value, setting it to 1 causes it to spam the biome over who sections of the planet. I was changing some of my island biomes and with temperate island offset set to 1 every ocean tile on the planet was converted.

The other issues I am having is a series of red errors that I get when sitting at the planet seed screen. I included my logs here https://gist.github.com/0c492414d2ca4549527b45d719cd1671
And a screenshot https://imgur.com/a/6L7X0Hz

Unfortunately, Islands can't be altered by this Mod because of the way the Biomes Core Kit works. It spawns them out of oceans one at a time.
Mlie  [developer] 3 Jun, 2022 @ 2:35pm 
Please do not use discussions for bug reporting. Discord is the prefered method
< >
Showing 1-6 of 6 comments
Per page: 1530 50