RimWorld

RimWorld

FireFoam
Loop error causing game lag
I noticed obvious lag while playing, and after investigation, it was found that the source was Turret-FoamTurret, which seems to be a logical problem causing multiple loop errors. After I removed the Turret_foamTurret building in the game, there was a significant increase in TPS. I searched for all mods containing Turret_SoamTurret and finally found this mod. I hope it would be helpful.
< >
Showing 1-1 of 1 comments
Pen 4 Jan @ 8:21pm 
Exception drawing Turret_FoamTurret230367: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[Ref 1EE986CA]
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.Verb_Spray.get_AimAngleOverride () [0x00055] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.TurretTop.DrawTurret (UnityEngine.Vector3 drawLoc, UnityEngine.Vector3 recoilDrawOffset, System.Single recoilAngleOffset) [0x000c0] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX com.ogliss.rimworld.mod.VanillaWeaponsExpandedLaser: Boolean VanillaWeaponsExpandedLaser.HarmonyPatches.CYA_TuretTop_DrawTurret_LaserTurret_Patch:Prefix(TurretTop __instance)
- PREFIX OskarPotocki.VanillaFurnitureExpanded.Security: Boolean VFESecurity.Patch_TurretTop+DrawTurret:Prefix(Building_Turret ___parentTurret)
at RimWorld.Building_TurretGun.DrawAt (UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x00043] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.Thing.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x00004] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.Thing.DynamicDrawPhase (Verse.DrawPhase phase) [0x00017] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x0011a] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.DynamicDrawManager_DrawDynamicThings_Patch:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (Verse.DynamicDrawManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch0 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-1 of 1 comments
Per page: 1530 50