RimWorld
More Vanilla Turrets - Turret Extensions Patch (continued)
ZJK 2020 年 3 月 28 日 下午 7:16
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()
< >
目前顯示第 1-5 則留言,共 5
Hippobot 2020 年 3 月 30 日 上午 10:35 
I get the same error as well especially when upgrading my vulcan turrets.
BLACK NE0N 2020 年 4 月 15 日 上午 8:56 
same
OutbackCatgirl (kot) 2020 年 6 月 8 日 上午 8:29 
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 2020 年 7 月 22 日 上午 9:20 
I noticed this issue only occurs on existing devices. But the mod works with NEW devices you build after getting this mod.
Jon 2020 年 10 月 5 日 上午 1:06 
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.
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50