RimWorld
More Vanilla Turrets - Turret Extensions Patch (continued)
ZJK 28 Thg03, 2020 @ 7:16pm
Error when attempting to upgrade turret
When I attempt to upgrade the Military Grade Turret, I get this error. My pawns also no longer can interact with said turret until I cancel the upgrade.

Exception in getting value from upgrade (failPoint=3): System.NullReferenceException: Object reference not set to an instance of an object
at TurretExtensions.StatPart_ValueFromUpgrade.TransformValue (RimWorld.StatRequest req, System.Single& val) [0x00083] in <dd43e0d936e7407a893091afd6fbc430>:0
Verse.Log:Message(String, Boolean)
TurretExtensions.StatPart_ValueFromUpgrade:TransformValue(StatRequest, Single&)
RimWorld.StatWorker:FinalizeValue(StatRequest, Single&, Boolean)
RimWorld.StatWorker:GetValue(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(Thing, Boolean)
RimWorld.StatExtension:DMD<DMD<GetStatValue_Patch1>?-345861632::GetStatValue_Patch1>(Thing, StatDef, Boolean)
RimWorld.StatWorker:GetValue(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(Thing, Boolean)
RimWorld.StatExtension:DMD<DMD<GetStatValue_Patch1>?-345861632::GetStatValue_Patch1>(Thing, StatDef, Boolean)
Verse.Thing:get_MarketValue()
RimWorld.WealthWatcher:CalculateWealthItems()
RimWorld.WealthWatcher:ForceRecount(Boolean)
RimWorld.WealthWatcher:RecountIfNeeded()
RimWorld.WealthWatcher:get_WealthTotal()
RimWorld.ExpectationsUtility:CurrentExpectationFor(Map)
RimWorld.ExpectationsUtility:CurrentExpectationFor(Pawn)
RimWorld.JoyToleranceSet:NeedInterval(Pawn)
RimWorld.Need_Joy:NeedInterval()
RimWorld.Pawn_NeedsTracker:DMD<DMD<NeedsTrackerTick_Patch1>?-1533927296::NeedsTrackerTick_Patch1>(Pawn_NeedsTracker)
Verse.Pawn:DMD<DMD<Tick_Patch1>?841171328::Tick_Patch1>(Pawn)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
< >
Đang hiển thị 1-5 trong 5 bình luận
Hippobot 30 Thg03, 2020 @ 10:35am 
I get the same error as well especially when upgrading my vulcan turrets.
BLACK NE0N 15 Thg04, 2020 @ 8:56am 
same
As a temporary "fix", turn on devmode in options, activate god mode, and retry the "upgrade" command. Then either live with the fact you had to do it for free or use devmode or a drated pawn to move and forbid or delete the material that you would have needed to upgrade.
Armorguy1 22 Thg07, 2020 @ 9:20am 
I noticed this issue only occurs on existing devices. But the mod works with NEW devices you build after getting this mod.
Jon 5 Thg10, 2020 @ 1:06am 
I'm getting this same issue, except also when I try to rightclick on the turret to force a pawn to get them to perform the upgrade, no menu pops up and suddenly all of my work priorities for everyone are set to 1 for every job they have. If you just rightclick on anything else, it seems to fix it though luckily. Its the weirdest bug, but luckily it doesn't permanently screw up your work settings.
< >
Đang hiển thị 1-5 trong 5 bình luận
Mỗi trang: 1530 50