[1.2 + Royalty] Sudden bug being reported by 'Achtung!'

Started by GeorgeBushwhacker, July 05, 2021, 11:21:35 PM

Previous topic - Next topic

GeorgeBushwhacker

A few hours ago, I was playing the game and accidentally killed a prisoner for a quest instead of capturing them and bringing them inside. After that, I decided that I should take a break and reload a save from about 4 or 5 minutes before I made the mistake. Once I was done eating, I booted the game up as normal and opened the save only to be met with a warning from Achtung! that showed this:

System.ArgumentNullException: Value cannot be null.
Parameter name: type
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
  at RimWorld.WorkGiverDef.get_Worker () [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0
  at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_NewTmp_Patch2(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool)
  at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddUndraftedOrders_Patch1(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>)
  at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch3(UnityEngine.Vector3,Verse.Pawn)

after being clicked. I see no obvious difference in gameplay, but it is very annoying to have a yellow box whenever I right click something. I don't know what the actual issue is or what is causing it, but I think that something happened when I launched that bugged the jobs people were performing. Any help would be great <3



Mod List: (Should be identical to the Archoseed series ran on youtube)
https://gist.github.com/3401e532b493752f5a13ef9275b24723
Save:
https://drive.google.com/file/d/1mKu7lkXQkeoKPhWf7lx5QZTJp9UGlKIw/view?usp=sharing

GeorgeBushwhacker

Also, it seems to generate an error whenever I undraft pawns. There is no message when I initially draft them.

Exception in RimWorld.ThinkNode_ConditionalColonist TryIssueJobPackage: System.ArgumentNullException: Value cannot be null.
Parameter name: type
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <567df3e0919241ba98db88bec4c6696f>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
  at RimWorld.WorkGiverDef.get_Worker () [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.Pawn_WorkSettings.CacheWorkGiversInOrder () [0x000c3] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.Pawn_WorkSettings.get_WorkGiversInOrderEmergency () [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0
  at (wrapper dynamic-method) RimWorld.JobGiver_Work.RimWorld.JobGiver_Work.TryIssueJobPackage_Patch0(RimWorld.JobGiver_Work,Verse.Pawn,Verse.AI.JobIssueParams)
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <7927e938de4c4089b4add4215e58d5b1>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1(Pawn_JobTracker, ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch4(Pawn_JobTracker, JobCondition, Boolean, Boolean)
RimWorld.Pawn_DraftController:RimWorld.Pawn_DraftController.set_Drafted_Patch8(Pawn_DraftController, Boolean)
RimWorld.Pawn_DraftController:<GetGizmos>b__13_1()
Verse.Command_Toggle:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(UIRoot_Play)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


And

Exception in Verse.AI.ThinkNode_Priority TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.AI.ThinkNode_SubtreesByTag.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000a2] in <7927e938de4c4089b4add4215e58d5b1>:0
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <7927e938de4c4089b4add4215e58d5b1>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1(Pawn_JobTracker, ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch4(Pawn_JobTracker, JobCondition, Boolean, Boolean)
RimWorld.Pawn_DraftController:RimWorld.Pawn_DraftController.set_Drafted_Patch8(Pawn_DraftController, Boolean)
RimWorld.Pawn_DraftController:<GetGizmos>b__13_1()
Verse.Command_Toggle:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(UIRoot_Play)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Might be what Achtung! showed up with

GeorgeBushwhacker


AngelSeeker

I have the same bug and error message(dont know if everything is the same but that first line with 'value cannot be null' is the same). This was not there less than 24hours ago. And now when loading the save from yesterday all the pawns finish their current jobs and then just do nothing and say they are idle but there is clearly work everywhere in allowed areas. So now they only eat and sleep and party. Also when calling trade ship it 'auto' drafts the pawn which wasn't there yesterday. No job prioritizing either with Achtung! only message to copy something to clipboard. I see a few mods were updated yesterday including the Achtung! mod. Something may have changed that now conflicts?

AngelSeeker

I think i have found the problem. Try checking the "Cleaning Area" mod discussion on Steam.