Bannerlord has encountered a problem and will close itself.
This is a community Crash Report. Please save it and use it for reporting the error. Do not provide screenshots, provide the report!
Most likely this error was caused by a custom installed module.

If you were in the middle of something, the progress might be lost.


+ Exception

Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem
CallStack:
  1. at TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultPartyTroopUpgradeModel.CanTroopGainXp(PartyBase owner, CharacterObject character)
  2. at Helpers.MobilePartyHelper.GetMaximumXpAmountPartyCanGet(MobileParty party)
  3. at TaleWorlds.CampaignSystem.ViewModelCollection.SPInventoryVM..ctor(InventoryLogic inventoryLogic, Boolean isInCivilianModeByDefault, Func`2 getItemUsageSetFlags, String fiveStackShortcutkeyText, String entireStackShortcutkeyText)
  4. at SandBox.GauntletUI.InventoryGauntletScreen.OnInitialize()
  5. at TaleWorlds.Engine.Screens.ScreenBase.HandleInitialize()
  6. at TaleWorlds.Engine.Screens.ScreenManager.PushScreen(ScreenBase screen)
  7. at TaleWorlds.MountAndBlade.View.Screen.GameStateScreenManager.TaleWorlds.Core.IGameStateManagerListener.OnPushState(GameState gameState, Boolean isTopGameState)
  8. at TaleWorlds.Core.GameStateManager.OnPushState(GameState gameState)
  9. at TaleWorlds.Core.GameStateManager.DoGameStateJobs()
  10. at TaleWorlds.Core.GameStateManager.PushState(GameState gameState, Int32 level)
  11. at TaleWorlds.CampaignSystem.InventoryManager.OpenScreenAsTrade(ItemRoster leftRoster, SettlementComponent settlementComponent, InventoryCategoryType merchantItemType, DoneLogicExtrasDelegate doneLogicExtrasDelegate)
  12. at TaleWorlds.CampaignSystem.GameMenus.GameMenuOption.RunConsequence(MenuContext menuContext)
  13. at SandBox.GauntletUI.AutoGenerated.GameMenu__TaleWorlds_CampaignSystem_ViewModelCollection_GameMenu_GameMenuVM_Dependency_4_GameMenuItem__InheritedPrefab.EventListenerOf_widget_0(Widget widget, String commandName, Object[] args)
  14. at TaleWorlds.GauntletUI.Widget.EventFired(String eventName, Object[] args)
  15. at TaleWorlds.GauntletUI.ButtonWidget.HandleClick()
  16. at TaleWorlds.GauntletUI.ButtonWidget.OnMouseReleased()
  17. at TaleWorlds.GauntletUI.EventManager.MouseUp()
  18. at TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
  19. at TaleWorlds.Engine.Screens.ScreenManager.Update()
  20. at TaleWorlds.Engine.Screens.ScreenManager.Tick_Patch1(Single dt)

+ Involved Modules

  • Sandbox
    • Method: virtual System.Void SandBox.GauntletUI.InventoryGauntletScreen::OnInitialize()
      Frame: OnInitialize at offset 264 in file:line:column :0:0
    • Method: System.Void SandBox.GauntletUI.AutoGenerated.GameMenu__TaleWorlds_CampaignSystem_ViewModelCollection_GameMenu_GameMenuVM_Dependency_4_GameMenuItem__InheritedPrefab::EventListenerOf_widget_0(TaleWorlds.GauntletUI.Widget widget, System.String commandName, System.Object[] args)
      Frame: EventListenerOf_widget_0 at offset 59 in file:line:column :0:0
  • Native
    • Method: virtual System.Void TaleWorlds.MountAndBlade.View.Screen.GameStateScreenManager::TaleWorlds.Core.IGameStateManagerListener.OnPushState(TaleWorlds.Core.GameState gameState, System.Boolean isTopGameState)
      Frame: TaleWorlds.Core.IGameStateManagerListener.OnPushState at offset 143 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.30.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Mod Configuration Menu v4 (Bannerlord.MBOptionScreen, v4.3.14.0)
  • + Native (Native, e1.6.4.0)
  • + SandBox Core (SandBoxCore, e1.6.4.0)
  • + Sandbox (Sandbox, e1.6.4.0)
  • + StoryMode (StoryMode, e1.6.4.0)
  • + CustomBattle (CustomBattle, e1.6.4.0)
  • + Better Time (BetterTime, v1.1.9.0)
  • + Crafting Unlocked (CraftingUnlocked, v1.2.2.0)
  • + AutoBlocker (AutoBlocker, v1.0.9.0)
  • + Detailed Character Creation (zzCharacterCreation, v1.2.5.2)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMissionBehaviourInitialize
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers; Namespace: Bannerlord.ButterLib.SubModuleWrappers.Patches.MBSubModuleBasePatchCallPostfix;

  • TaleWorlds.MountAndBlade.Module.FinalizeSubModules
    • Postfixes
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchFinalizeSubModulesPostfix;

  • TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameStart
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameEnd
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.SaveSystem.TypeExtensions.IsContainer
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.TypeExtensionsPatchIsContainerPrefix;

  • TaleWorlds.GauntletUI.Data.GauntletMovie.Load
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.GauntletMoviePatchLoadPrefix;

  • TaleWorlds.Library.ViewModel.ExecuteCommand
    • Prefixes
      • Owner: bannerlord.mcm.ui.viewmodelpatch; Namespace: MCM.UI.Patches.ViewModelPatchExecuteCommandPatch;
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelPatchViewModel_ExecuteCommand_Transpiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetPrefab.LoadFrom
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.WidgetPrefabPatchWidgetPrefab_LoadFrom_Transpiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.Initialize
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.WidgetFactoryPatchInitializeTranspiler;

  • TaleWorlds.GauntletUI.BrushFactory.get_Brushes
    • Postfixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerGetBrushesPostfix;

  • TaleWorlds.GauntletUI.BrushFactory.GetBrush
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerGetBrushPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.ConstantDefinition.GetValue
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetExtensions.SetWidgetAttributeFromString
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.UIContext.GetBrush
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetExtensions.ConvertObject
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetCustomType
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerGetCustomTypePrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.CreateBuiltinWidget
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerCreateBuiltinWidgetPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetWidgetTypes
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerGetWidgetTypesPostfix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.IsCustomType
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerIsCustomTypePrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.OnUnload
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerOnUnloadPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetTemplate.CreateWidgets
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetTemplate.OnRelease
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerBlankTranspiler;

  • TaleWorlds.TwoDimension.EditableText.GetCursorPosition
    • Finalizers
      • Owner: bannerlord.mcm.ui.editabletextpatch; Namespace: MCM.UI.Patches.EditableTextPatchGetCursorPosition;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleLoad
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseSubModuleLoadPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleUnloaded
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnSubModuleUnloadedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnBeforeInitialModuleScreenSetAsRoot
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnBeforeInitialModuleScreenSetAsRootPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameStart
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnGameStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameEnd
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnGameEndPostfix;

  • SandBox.SandBoxSubModule.OnSubModuleLoad
    • Prefixes
      • Owner: butterlib.delayedsubmoduleloader.sandboxsubmodule; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerSubModuleLoadPrefix;
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.sandboxsubmodule; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerSubModuleLoadPostfix;

  • MCM.IntegratedLoaderSubModule..ctor
    • Prefixes
      • Owner: bannerlord.mcm.implementation.mcmv3.loaderpreventer; Namespace: MCM.Adapter.MCMv3.Patches.MCMv3IntegratedLoaderSubModulePatchStopIntegratedLoaderSubModuleCtor;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM..ctor
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Constructor_Transpiler;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM..ctor
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Constructor_Transpiler;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.OnFinalize
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Finalize_Transpiler;

  • TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapTimeControlVM..ctor
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.BetterTime; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Constructor_Transpiler;

  • TaleWorlds.Library.ViewModel.OnFinalize
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.BetterTime; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Finalize_Transpiler;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CraftingCampaignBehavior.IsOpened
    • Prefixes
      • Owner: mod.bannerlord.craftingunlocked; Namespace: CraftingUnlocked.BlacksmithIsOpenedPatchPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CraftingCampaignBehavior.OpenPart
    • Prefixes
      • Owner: mod.bannerlord.craftingunlocked; Namespace: CraftingUnlocked.BlacksmithOpenPartPatchPrefix;

  • TaleWorlds.MountAndBlade.View.Missions.MissionMainAgentController.ControlTick
    • Postfixes
      • Owner: com.menthus.autoblocker.mod; Namespace: AutoBlocker.BannerlordPatchesPostfix1;

  • TaleWorlds.MountAndBlade.MissionBehaviour.OnRemoveBehaviour
    • Postfixes
      • Owner: com.menthus.autoblocker.mod; Namespace: AutoBlocker.BannerlordPatchesPostfix2;

  • TaleWorlds.MountAndBlade.MissionBehaviour.OnAgentRemoved
    • Postfixes
      • Owner: com.menthus.autoblocker.mod; Namespace: AutoBlocker.BannerlordPatchesPostfix3;

  • TaleWorlds.MountAndBlade.BodyGenerator.SaveCurrentCharacter
    • Postfixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.BodyGeneratorPatchPostfix;

  • TaleWorlds.CampaignSystem.CharacterObject.UpdatePlayerCharacterBodyProperties
    • Postfixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.CharacterObjectPatchPostfix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.DynamicBodyCampaignBehavior.DailyTick
    • Prefixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.DynamicBodyPatchPrefix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.FaceGenPropertyVM.RefreshValues
    • Postfixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.FaceGenPropertyVMPatchRefreshValuesPostfix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.FaceGenPropertyVM.set_Value
    • Postfixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.FaceGenPropertyVMPatchSetValuePostfix;

  • TaleWorlds.MountAndBlade.View.BasicCharacterTableau.RefreshCharacterTableau
    • Transpilers
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.InitializeAgentVisualsTranspilerTranspiler;

  • TaleWorlds.MountAndBlade.Module.CreateProcessedSkinsXMLForNative
    • Prefixes
      • Owner: mod.bannerlord.popowanobi.dcc; Namespace: CharacterCreation.Patches.ModuleProcessSkinsXmlPatchPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnGameLoaded
    • Prefixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnGameLoadedPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnBeforeSave
    • Postfixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnBeforeSavePostfix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.InitialMenuVM.RefreshMenuOptions
    • Postfixes
      • Owner: bannerlord.mcm.mainmenuscreeninjection_v4; Namespace: MCM.UI.Functionality.Post158GameMenuScreenHandlerRefreshMenuOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_VideoOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_AudioOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_GameKeyOptionGroups
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_GamepadOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_GameplayOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.get_PerformanceOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.ExecuteCloseOptions
    • Postfixes
      • Owner: bannerlord.mcm.ui.optionsvm; Namespace: MCM.UI.UIExtenderEx.OptionsVMMixinExecuteCloseOptionsPostfix; Priority: 300;