Need help finding what mod is causing this

Started by Axiolotl, June 24, 2021, 07:23:55 PM

Previous topic - Next topic

Axiolotl

when i try to right click with a pawn selected i get this error (this is the full error)

Root level exception in OnGUI(): 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.FloatMenuMakerMap.AddJobGiverWorkOrders_NewTmp (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x000ca] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00084] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn) [0x0009c] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00056] in <7927e938de4c4089b4add4215e58d5b1>:0
  at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
  at RimWorld.Selector.SelectorOnGUI () [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <7927e938de4c4089b4add4215e58d5b1>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000d3] in <7927e938de4c4089b4add4215e58d5b1>:0
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Verse.Log.Error_Patch1(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)

im pretty sure a mod is causing it but finding out wich one would take very long

Canute

It is impossible to say "This mod do that".
When you use hugslib too, do a share logs to upload the data, open them into a browser.
Look if you can find
AddJobGiverWorkOrders_NewTmp
or
OnGUI_Patch1
at the patch list, and look what mod cause it. No garantee that is the mod, but i would deactivate it at first.

RawCode

this is data issue, host of code injection can be reason for this, but highly unlikely.

focus on all mods that give startup errors.