RimWorld

RimWorld

Map Reroll
Panacea May 16, 2021 @ 3:12pm
Map Generation Error
When I try to generate a rerolled map, I get this error:
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object
at TD_Enhancement_Pack.BaseOverlay.MakeDrawer () [0x00007] in <c5f8a9e4c44b499ca78ae23841a65df9>:0
at TD_Enhancement_Pack.BaseOverlay.ResetAll () [0x00022] in <c5f8a9e4c44b499ca78ae23841a65df9>:0
at TD_Enhancement_Pack.ChangeMapResetOverlays.Postfix () [0x00000] in <c5f8a9e4c44b499ca78ae23841a65df9>:0
at (wrapper dynamic-method) Verse.Game.Verse.Game.set_CurrentMap_Patch2(Verse.Game,Verse.Map)
at (wrapper dynamic-method) Verse.Game.Verse.Game.DeinitAndRemoveMap_Patch3(Verse.Game,Verse.Map)
at MapReroll.RerollToolbox.DiscardFactionBase (RimWorld.Planet.MapParent mapParent) [0x0000b] in <7b42efcedff04411902136cc66c68b91>:0
at MapReroll.RerollToolbox+<>c__DisplayClass2_0.<DoMapReroll>b__0 () [0x000a1] in <7b42efcedff04411902136cc66c68b91>:0
at (wrapper dynamic-method) Verse.LongEventHandler.Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2(bool&)
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.LongEventHandler:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2(Boolean&)
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Verse.Root.Update_Patch1(Root)
Verse.Root_Play:Update()

and this:
Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Sound.Sustainer.<.ctor>b__15_0 () [0x00000] in <c36f9493c9844ddaa7fb5c788416098f>:0
at (wrapper dynamic-method) Verse.LongEventHandler.Verse.LongEventHandler.ExecuteToExecuteWhenFinished_Patch2()
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.LongEventHandler:Verse.LongEventHandler.ExecuteToExecuteWhenFinished_Patch2()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Verse.Root.Update_Patch1(Root)
Verse.Root_Entry:Update()

and it boots me back to main menu. This is driving me nuts!

Here is hugslib, any help would be appreciated. I just spent the weekend cleaning up and reorganizing my modlist (I use RimPy btw) so that there were no more red errors. Everything seems to be working right but now this.
https://gist.github.com/12c5d5e6184794142dafd339dc515add
< >
Showing 1-1 of 1 comments
Panacea Oct 25, 2021 @ 8:25am 
I keep getting this error when trying to generate previews for some maps with rivers. any idea what this could be? Any response would be appreciated, even if it's to tell me I'm an idiot.

Failed to find all necessary river flow data
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.GenStep_Terrain:GenerateRiverLookupTexture (Verse.Map,RimWorld.RiverMaker)
(wrapper dynamic-method) RimWorld.GenStep_Terrain:RimWorld.GenStep_Terrain.GenerateRiver_Patch2 (RimWorld.GenStep_Terrain,Verse.Map)
System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
MapReroll.MapPreviewGenerator:GeneratePreviewForSeed (string,int,int,bool,MapReroll.MapPreviewGenerator/ThreadableTexture)
MapReroll.MapPreviewGenerator:DoThreadWork ()
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