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.MountAndBlade.ViewModelCollection
CallStack:
  1. at TaleWorlds.MountAndBlade.ViewModelCollection.SPScoreboardSkillItemVM.RefreshValues()
  2. at TaleWorlds.MountAndBlade.ViewModelCollection.Scoreboard.SPScoreboardUnitVM..ctor(BasicCharacterObject character)
  3. at TaleWorlds.MountAndBlade.ViewModelCollection.Scoreboard.SPScoreboardPartyVM.GetUnitAddIfNotExists(BasicCharacterObject character)
  4. at TaleWorlds.MountAndBlade.ViewModelCollection.Scoreboard.SPScoreboardPartyVM.UpdateScores(BasicCharacterObject character, Int32 numberRemaining, Int32 numberDead, Int32 numberWounded, Int32 numberRouted, Int32 numberKilled, Int32 numberReadyToUpgrade)
  5. at TaleWorlds.MountAndBlade.ViewModelCollection.Scoreboard.SPScoreboardSideVM.UpdateScores(IBattleCombatant battleCombatant, Boolean isPlayerParty, BasicCharacterObject character, Int32 numberRemaining, Int32 numberDead, Int32 numberWounded, Int32 numberRouted, Int32 numberKilled, Int32 numberReadyToUpgrade)
  6. at SandBox.ViewModelCollection.SPScoreboardVM.TroopNumberChanged_Patch1(SPScoreboardVM this, BattleSideEnum side, IBattleCombatant battleCombatant, BasicCharacterObject character, Int32 number, Int32 numberDead, Int32 numberWounded, Int32 numberRouted, Int32 numberKilled, Int32 numberReadyToUpgrade)
  7. at TaleWorlds.MountAndBlade.BattleObserverMissionLogic.OnAgentBuild(Agent agent, Banner banner)
  8. at TaleWorlds.MountAndBlade.Mission.SpawnAgent(AgentBuildData agentBuildData, Boolean spawnFromAgentVisuals, Int32 formationTroopCount)
  9. at TaleWorlds.MountAndBlade.Mission.SpawnTroop(IAgentOriginBase troopOrigin, Boolean isPlayerSide, Boolean hasFormation, Boolean spawnWithHorse, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint, Int32 formationTroopCount, Int32 formationTroopIndex, Boolean isAlarmed, Boolean wieldInitialWeapons, Boolean forceDismounted, String specialActionSet, Nullable`1 initFrame)
  10. at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.MissionSide.SpawnTroops(Int32 number, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint)
  11. at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.CheckInitialSpawns()
  12. at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.OnMissionTick(Single dt)
  13. at TaleWorlds.MountAndBlade.Mission.OnTick(Single dt, Single realDt, Boolean updateCamera)
  14. at TaleWorlds.MountAndBlade.MissionState.TickMission(Single realDt)
  15. at TaleWorlds.MountAndBlade.MissionState.OnTick(Single realDt)
  16. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
  17. at TaleWorlds.Core.Game.OnTick(Single dt)
  18. at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
  19. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  20. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.28.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Mod Configuration Menu v4 (Bannerlord.MBOptionScreen, v4.3.14.0)
  • + Native (Native, e1.6.1.0)
  • + SandBox Core (SandBoxCore, e1.6.1.0)
  • + CustomBattle (CustomBattle, e1.6.1.0)
  • + Sandbox (Sandbox, e1.6.1.0)
  • + StoryMode (StoryMode, e1.6.1.0)
  • + Grammaire FR (GrammaireFR, e1.4.0.0)
  • + Dismemberment (Plus) (DismembermentPlus, v2.0.0.11)
  • + Bandit Militias (Bandit Militias, v3.0.8.0)

+ Assemblies

+ Harmony Patches

  • 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.Localization.TextProcessor.DefaultTextProcessor.ProcessToken
    • Prefixes
      • Owner: FrenchTextProcessor; Namespace: GrammaireFR.FrenchTextProcessorPrefix;

  • TaleWorlds.MountAndBlade.MissionBehaviour.OnRegisterBlow
    • Prefixes
      • Owner: DismembermentPlus; Namespace: DismembermentPlus.Patches.OnRegisterBlowPatchOnRegisterBlowPrefix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.HUD.KillFeed.SPKillFeedVM.OnAgentRemoved
    • Prefixes
      • Owner: DismembermentPlus; Namespace: DismembermentPlus.Patches.SPKillFeedVMPatchOnAgentRemovedPrefix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.HUD.KillFeed.SPKillFeedVM.OnPersonalKill
    • Prefixes
      • Owner: DismembermentPlus; Namespace: DismembermentPlus.Patches.SPKillFeedVMPatchOnPersonalKillPrefix;

  • TaleWorlds.CampaignSystem.Campaign.Tick
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+CampaignTickPatchPostfix;

  • SandBox.View.Map.PartyVisual.AddCharacterToPartyIcon
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+PartyVisualAddCharacterToPartyIconPatchPrefix;

  • TaleWorlds.CampaignSystem.PartyBase.get_Banner
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+PartyBaseBannerPatchPostfix;

  • TaleWorlds.CampaignSystem.PartyGroupAgentOrigin.get_Banner
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+PartyGroupAgentOriginBannerGetterPatchPostfix;

  • TaleWorlds.CampaignSystem.Actions.EnterSettlementAction.ApplyInternal
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+EnterSettlementActionApplyInternalPatchPrefix;

  • SandBox.ViewModelCollection.Nameplate.PartyNameplateVM.RefreshDynamicProperties
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+PartyNameplateVMRefreshDynamicPropertiesPatchPostfix;

  • TaleWorlds.CampaignSystem.PlayerEncounter.DoMeetingInternal
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+PlayerEncounterDoMeetingInternalPatchPrefix;

  • TaleWorlds.CampaignSystem.MobileParty.CanAttack
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+MobilePartyCanAttackPatchPostfix;

  • SandBox.ViewModelCollection.SPScoreboardVM.TroopNumberChanged
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+SPScoreboardVMTroopNumberChangedPatchPrefix;

  • TaleWorlds.CampaignSystem.TroopRoster.AddToCountsAtIndex
    • Finalizers
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatches+TroopRosterAddToCountsAtIndexPatchFinalizer;

  • SandBox.View.Map.MapScreen.OnInitialize
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+MapScreenOnInitializePatchPostfix;

  • TaleWorlds.CampaignSystem.MapEventSide.HandleMapEventEndForPartyInternal
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+MapEventSideHandleMapEventEndForPartyPatchPrefix;
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+MapEventSideHandleMapEventEndForPartyPatchPostfix;

  • TaleWorlds.CampaignSystem.HeroCreator.CreateRelativeNotableHero
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+HeroCreatorCreateRelativeNotableHeroPatchPrefix;

  • TaleWorlds.CampaignSystem.BanditPartyComponent.get_Name
    • Finalizers
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+BanditPartyComponentGetNamePatchFinalizer;

  • TaleWorlds.CampaignSystem.ViewModelCollection.SPInventoryVM.InitializeInventory
    • Finalizers
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+SPInventoryVMInitializeInventoryVMPatchFinalizer;

  • SandBox.ViewModelCollection.MobilePartyTracker.MobilePartyTrackerVM..ctor
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+MobilePartyTrackerVMCtorPatchPostfix;

  • SandBox.BattleAgentLogic.OnAgentRemoved
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+BattleAgentLogicOnAgentRemovedPatchPrefix;

  • TaleWorlds.MountAndBlade.Mission.OnAgentRemoved
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatches+MissionOnAgentRemovedPatchPrefix;

  • TaleWorlds.CampaignSystem.Actions.TakePrisonerAction.ApplyInternal
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.PrisonerPatches+TakePrisonerActionApplyInternalPatchPrefix;

  • TaleWorlds.CampaignSystem.MapEvent.LootDefeatedParties
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.PrisonerPatches+MapEventFinishBattlePatchPrefix;

  • TaleWorlds.CampaignSystem.MapEventSide.CaptureWoundedHeroes
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.PrisonerPatches+MapEventSideCaptureWoundedHeroesPatchPrefix;

  • 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.CampaignSystem.SandBox.CampaignBehaviors.EncounterGameMenuBehavior.game_menu_encounter_on_init
    • Prefixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Helpers.HelperFixMapEventFuckery;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.Towns.PlayerTownVisitCampaignBehavior.wait_menu_prisoner_wait_on_tick
    • Finalizers
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MiscPatcheswait_menu_prisoner_wait_on_tickFinalizer;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.Map.DefaultPartySpeedCalculatingModel.CalculateFinalSpeed
    • Postfixes
      • Owner: ca.gnivler.bannerlord.BanditMilitias; Namespace: Bandit_Militias.Patches.MilitiaPatchesDefaultPartySpeedCalculatingModelCalculateFinalSpeedPatch;