RimWorld

RimWorld

Prison Labor
Unable to purchase Animals
Since the newest update I am unable to purchase animals from any vendor (normal and through beacons). When I confirm the purchase my money gets reduced by the correct amount, the trade window stays open and sometimes the elements seem to glitch out. I am able to click on confirm purchase again and again loosing money every time, but never getting the animal I am paying for. I am running other mods I can provide the modlist if needed, but this happens even with vanilla animals. I narrowed the issue down to this mod. Here is the relevant part of the error log:

Exception filling window for RimWorld.Dialog_Trade: System.NullReferenceException: Object reference not set to an instance of an object
at PrisonLabor.HarmonyPatches.Patches_WorkSettings.Patch_ResetWorktableWhenRecruited.Prefix (Verse.Pawn __instance, RimWorld.Faction newFaction, Verse.Pawn recruiter) [0x0008f] in <3eed67d6b81943f5bf294ab6f3302550>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.SetFaction_Patch3(Verse.Pawn,RimWorld.Faction,Verse.Pawn)
at Verse.Pawn.PreTraded (RimWorld.TradeAction action, Verse.Pawn playerNegotiator, RimWorld.ITrader trader) [0x000c7] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.TradeShip.GiveSoldThingToPlayer (Verse.Thing toGive, System.Int32 countToGive, Verse.Pawn playerNegotiator) [0x00008] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.Tradeable_Pawn.ResolveTrade () [0x00083] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.TradeDeal.RimWorld.TradeDeal.TryExecute_Patch1(RimWorld.TradeDeal,bool&)
at RimWorld.Dialog_Trade.<DoWindowContents>b__60_2 () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.DoWindowContents_Patch0(RimWorld.Dialog_Trade,UnityEngine.Rect)
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <d72310b4d8f64d25aee502792b58549f>:0

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
< >
Showing 1-2 of 2 comments
Hazzer  [developer] Jan 27, 2021 @ 12:21pm 
It is issue with 1.2.1 and 1.2.2 mod version. After rollback you should have 1.2.0 version.
GulaschLulatsch Jan 28, 2021 @ 6:03am 
Yes, after the recent rollback it seems to work fine again, thank you
< >
Showing 1-2 of 2 comments
Per page: 1530 50