RimWorld

RimWorld

Hunting Squad
Miren Sep 10, 2021 @ 8:42pm
Error when placing down the building and performance issues
Log: https://gist.github.com/HugsLibRecordKeeper/6d976665699b85ac86e662f9aaf91f81

Hi, I've just started a new playthrough for 1.3 and getting some issues. When I place down the building I get an error, and the mod doesn't seem to have an effect on the game. After I reload the save the mod features take effect (I verified that it worked for setting new colonist work priorities), but there is a heavy performance impact, the game stutters at regular intervals, say once per second or more, it's easy to notice when moving the camera around, and seems to disappear as soon as I remove the hunting squad building.

I didn't have these problems on 1.2 and my mod setup is basically the same now. Any ideas how to fix it so I could use this great mod again would be appreciated.

(Using the windows version of the game via Proton on linux.)

Error when placing down the hunting squad building: Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at HuntingSquad.HuntFilter.Init (Verse.Map Map) [0x00042] in <7c0d89a3ad0747e981fd7bc5a44ac461>:0
at HuntingSquad.Building_HuntingSquad.SpawnSetup (Verse.Map Map, System.Boolean respawningAfterLoad) [0x00163] in <7c0d89a3ad0747e981fd7bc5a44ac461>:0
at (wrapper dynamic-method) Verse.GenSpawn.Verse.GenSpawn.Spawn_Patch2(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool)
at RimWorld.Designator_Build.DesignateSingleCell (Verse.IntVec3 c) [0x00098] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at Verse.DesignatorManager.ProcessInputEvents () [0x00058] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at RimWorld.MapInterface.HandleMapClicks () [0x0000f] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
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)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
< >
Showing 1-2 of 2 comments
TwoWolfStyle  [developer] Oct 7, 2021 @ 3:17pm 
Is there anything in log before that exception?
TiraboTurbos Dec 6, 2022 @ 11:19pm 
I didn't notice lag after placing, but I felt the framerate became 1 frame per 10 seconds, after I OPENED the hunting spot. And the game was still paused.
< >
Showing 1-2 of 2 comments
Per page: 1530 50