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.GameComponents.DefaultMapDistanceModel.GetDistance(Settlement fromSettlement, Settlement toSettlement)
  2. at Helpers.FactionHelper.ChooseHeirClanForFiefs(Clan oldClan)
  3. at TaleWorlds.CampaignSystem.Actions.DestroyClanAction.ApplyInternal(Clan destroyedClan, DestroyClanActionDetails details)
  4. at TaleWorlds.CampaignSystem.Actions.DestroyKingdomAction.ApplyInternal(Kingdom destroyedKingdom)
  5. at TaleWorlds.CampaignSystem.Actions.KillCharacterAction.ApplyInternal(Hero victim, Hero killer, KillCharacterActionDetail actionDetail, Boolean showNotification, Boolean isForced)
  6. at TaleWorlds.CampaignSystem.Party.PartyScreenLogic.ExecuteTroop(PartyCommand command)
  7. at TaleWorlds.CampaignSystem.ViewModelCollection.PartyVM.ExecuteExecution()
  8. at TaleWorlds.CampaignSystem.ViewModelCollection.SceneNotificationVM.ExecuteAffirmativeProcess()
  9. at SandBox.GauntletUI.AutoGenerated.SceneNotification__TaleWorlds_CampaignSystem_ViewModelCollection_SceneNotificationVM.EventListenerOf_widget_0_1_0_5(Widget widget, String commandName, Object[] args)
  10. at TaleWorlds.GauntletUI.Widget.EventFired(String eventName, Object[] args)
  11. at TaleWorlds.GauntletUI.ButtonWidget.HandleClick()
  12. at TaleWorlds.GauntletUI.ButtonWidget.OnMouseReleased()
  13. at TaleWorlds.GauntletUI.EventManager.MouseUp()
  14. at TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
  15. at TaleWorlds.ScreenSystem.ScreenManager.Update()
  16. at TaleWorlds.ScreenSystem.ScreenManager.Tick_Patch1(Single dt, Boolean activeMouseVisible)

+ Involved Modules

  • Sandbox
    • Method: System.Void SandBox.GauntletUI.AutoGenerated.SceneNotification__TaleWorlds_CampaignSystem_ViewModelCollection_SceneNotificationVM::EventListenerOf_widget_0_1_0_5(TaleWorlds.GauntletUI.Widget widget, System.String commandName, System.Object[] args)
      Frame: EventListenerOf_widget_0_1_0_5 at offset 46 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.2.1.84)
  • + ButterLib (Bannerlord.ButterLib, v2.1.11.0)
  • + Native (Native, e1.7.2.0)
  • + SandBox Core (SandBoxCore, e1.7.2.0)
  • + Sandbox (Sandbox, e1.7.2.0)
  • + StoryMode (StoryMode, e1.7.2.0)
  • + CustomBattle (CustomBattle, e1.7.2.0)
  • + swadian armoury (swadian armoury, v1.0.0.0)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleLoad
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnSubModuleLoadPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleUnloaded
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnSubModuleUnloadedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnApplicationTick
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnApplicationTickPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnBeforeInitialModuleScreenSetAsRoot
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnBeforeInitialModuleScreenSetAsRootPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameStart
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnGameStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.InitializeGameStarter
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchInitializeGameStarterPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.DoLoading
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchDoLoadingPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameLoaded
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnGameLoadedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnCampaignStart
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnCampaignStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.BeginGameStart
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchBeginGameStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameEnd
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnGameEndPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameInitializationFinished
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnGameInitializationFinishedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnBeforeMissionBehaviorInitialize
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnBeforeMissionBehaviourInitializePostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMissionBehaviorInitialize
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnMissionBehaviourInitializePostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMultiplayerGameStart
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnMultiplayerGameStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnNewGameCreated
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnNewGameCreatedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.RegisterSubModuleObjects
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchRegisterSubModuleObjectsPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.AfterRegisterSubModuleObjects
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchAfterRegisterSubModuleObjectsPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnAfterGameInitializationFinished
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnAfterGameInitializationFinishedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnConfigChanged
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnConfigChangedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnInitialState
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers2; Namespace: Bannerlord.ButterLib.SubModuleWrappers2.Patches.MBSubModuleBasePatchOnInitialStatePostfix;

  • 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.CampaignSystem.CampaignBehaviorBase..ctor
    • Postfixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.BehaviourNamePatchCampaignBehaviorBaseCtorPostfix;

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

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddBasicTypeDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddBasicTypeDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddClassDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddClassDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddContainerDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddContainerDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddEnumDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddEnumDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddGenericClassDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddGenericClassDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddGenericStructDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddGenericStructDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddInterfaceDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddInterfaceDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddRootClassDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddRootClassDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.AddStructDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchAddStructDefinitionPrefix;

  • TaleWorlds.SaveSystem.Definition.DefinitionContext.ConstructContainerDefinition
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.DefinitionContextPatchConstructContainerDefinitionPrefix;

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

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