RimWorld

RimWorld

Easy Upgrades
Gariba 21 Jun, 2020 @ 8:19pm
Error when trying to upgrade non-stuffed items
Got this when clicking on a recurve bow to upgrade it, then right-clicking with a pawn (prioritize upgrade option does not appear)

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at EasyUpgrades.WorkGiver_IncreaseQuality.JobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00065] in <f5a64938cb3b4464bb9ed5420cb8e2d8>:0
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, System.Boolean forced) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (Verse.IntVec3 clickCell, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x00183] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00084] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.DMD<DMD<ChoicesAtFor_Patch1>?1049514880::ChoicesAtFor_Patch1>(UnityEngine.Vector3,Verse.Pawn)
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00056] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.Selector.DMD<DMD<HandleMapClicks_Patch1>?1224197376::HandleMapClicks_Patch1>(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000d3] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) Verse.Root.DMD<DMD<OnGUI_Patch1>?1585248384::OnGUI_Patch1>(Verse.Root)
Verse.Log:DMD<DMD<Error_Patch1>?-1653613824::Error_Patch1>(String, Boolean)
Verse.Root:DMD<DMD<OnGUI_Patch1>?1585248384::OnGUI_Patch1>(Root)
< >
Showing 1-2 of 2 comments
ToyWalrus  [developer] 25 Jun, 2020 @ 3:29pm 
This should be fixed now, let me know if you have any other problems!
Gariba 25 Jun, 2020 @ 6:00pm 
Yep, upgrades on non-stuffed items is working! Though, it's only using wood as upgrade material. Also, it seems that uncraftable items (gained only from quests / trading) still throw errors.
< >
Showing 1-2 of 2 comments
Per page: 1530 50