RimWorld

RimWorld

Combat Extended [1.4]
Midwen281 3 Jun, 2021 @ 9:03am
HUD error when opening Assign tab
Root level exception in OnGUI(): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: loadout
at CombatExtended.Utility_Loadouts.SetLoadoutById (Verse.Pawn pawn, System.Int32 loadoutId) [0x00010] in <c8aecfc8eba541749ed1af0e489ba13a>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---


at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at BetterPawnControl.Widget_CombatExtended.SetLoadoutById (Verse.Pawn pawn, System.Int32 id) [0x00000] in <469bd1e4686d48a0934e933965a4d607>:0
at BetterPawnControl.AssignManager.LoadState (System.Collections.Generic.List`1[T] links, System.Collections.Generic.List`1[T] pawns, BetterPawnControl.Policy policy) [0x0010d] in <469bd1e4686d48a0934e933965a4d607>:0
at BetterPawnControl.MainTabWindow_Assign_Policies.PreOpen () [0x0003a] in <469bd1e4686d48a0934e933965a4d607>:0
at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <7927e938de4c4089b4add4215e58d5b1>:0
at (wrapper dynamic-method) RimWorld.MainTabsRoot.RimWorld.MainTabsRoot.ToggleTab_Patch1(RimWorld.MainTabsRoot,RimWorld.MainButtonDef,bool)
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00005] in <7927e938de4c4089b4add4215e58d5b1>:0
at RimWorld.MainButtonWorker.InterfaceTryActivate () [0x0004d] in <7927e938de4c4089b4add4215e58d5b1>:0
at (wrapper dynamic-method) RimWorld.MainButtonWorker.RimWorld.MainButtonWorker.DoButton_Patch0(RimWorld.MainButtonWorker,UnityEngine.Rect)
at RimWorld.MainButtonsRoot.DoButtons () [0x0010c] in <7927e938de4c4089b4add4215e58d5b1>:0
at (wrapper dynamic-method) RimWorld.MainButtonsRoot.RimWorld.MainButtonsRoot.MainButtonsOnGUI_Patch1(RimWorld.MainButtonsRoot)
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Uninstalled and reinstalled - Moved to beginning and end of mod order. The Assign window flickers for a moment. Created a basic loadout. I am using RimHUD but unistalled and have same issue.
< >
Showing 1-1 of 1 comments
Midwen281 3 Jun, 2021 @ 12:21pm 
loaded a new game and issue resolved.
< >
Showing 1-1 of 1 comments
Per page: 1530 50