RimWorld

RimWorld

Performance Optimizer
RaptorMother Jan 24, 2022 @ 4:54am
cannot build bridges?
Hi! I came here because Visual exceptions pointed me this way. I'm having an issue when wherever I try to place a bridge over shallow water (or use devmode to change the shallow water into something else), i get the following red error and the building (or devmode terrain) fails to place

Root level exception in OnGUI(): System.IndexOutOfRangeException: Index was outside the bounds of the array.
at (wrapper dynamic-method) LCF.SetTerrainUpdateHook.LCF.SetTerrainUpdateHook.Prefix_Patch0(Verse.IntVec3,Verse.TerrainDef,Verse.Map)
at (wrapper dynamic-method) Verse.TerrainGrid.Verse.TerrainGrid.SetTerrain_Patch6(Verse.TerrainGrid,Verse.IntVec3,Verse.TerrainDef)
at RimWorld.Designator_Build.DesignateSingleCell (Verse.IntVec3 c) [0x00055] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Designator.DesignateMultiCell (System.Collections.Generic.IEnumerable`1[T] cells) [0x00041] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at (wrapper dynamic-method) Verse.DesignatorManager.Verse.DesignatorManager.ProcessInputEvents_Patch3(Verse.DesignatorManager)
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.HandleMapClicks_Patch1(RimWorld.MapInterface)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)


The full log is here!

https://gist.github.com/a63c1d7373977b697a4fa5ba641976fb

Thank you!