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.OverflowException
Message: Arithmetic operation resulted in an overflow.
Source: System.Core
CallStack:
  1. at System.Linq.Enumerable.Sum(IEnumerable`1 source)
  2. at TaleWorlds.MountAndBlade.ViewModelCollection.OrderOfBattle.OrderOfBattleVM.RefreshWeights()
  3. at TaleWorlds.MountAndBlade.ViewModelCollection.OrderOfBattle.OrderOfBattleVM.Tick()
  4. at TaleWorlds.MountAndBlade.GauntletUI.MissionOrderOfBattleGauntletUIHandler.OnMissionTick(Single dt)
  5. at TaleWorlds.MountAndBlade.Mission.OnTick(Single dt, Single realDt, Boolean updateCamera)
  6. at TaleWorlds.MountAndBlade.MissionState.TickMission(Single realDt)
  7. at TaleWorlds.MountAndBlade.MissionState.OnTick(Single realDt)
  8. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
  9. at TaleWorlds.Core.Game.OnTick(Single dt)
  10. at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
  11. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  12. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)

+ Involved Modules

  • Bannerlord.Harmony
    • Method: static System.Int32 System.Linq.Enumerable::Sum(System.Collections.Generic.IEnumerable`1 source)
      Frame: Sum at offset 130 in file:line:column :0:0
  • Native
    • Method: virtual System.Void TaleWorlds.MountAndBlade.GauntletUI.MissionOrderOfBattleGauntletUIHandler::OnMissionTick(System.Single dt)
      Frame: OnMissionTick at offset 33 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.31.0)
  • + Native (Native, e1.7.0.0)
  • + SandBox Core (SandBoxCore, e1.7.0.0)
  • + CustomBattle (CustomBattle, e1.7.0.0)
  • + Sandbox (Sandbox, e1.7.0.0)
  • + StoryMode (StoryMode, e1.7.0.0)
  • + EquipBestItem (EquipBestItem, v1.6.4.0)
  • + Improved Garrisons (ImprovedGarrisons, v4.0.3.12)
  • + Sorted Income (SortedIncome, v1.0.9.0)
  • + Party Screen Enhancements (PartyScreenEnhancements, v1.6.6.0)
  • + Army Arrow Counter (ArmyArrowCounter, v1.4.0.0)
  • + Perfect Fire Arrows (PerfectFireArrows, v5.2.0.0)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMissionBehaviorInitialize
    • 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.CampaignSystem.ViewModelCollection.PartyCharacterVM.ExecuteRecruitTroop
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.ChooseIgnorePrisonerPatchPrefix;

  • TaleWorlds.Engine.Screens.ScreenBase.AddLayer
    • Postfixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.PartyEnhancementLayerPatchPostfix;

  • TaleWorlds.Engine.Screens.ScreenBase.RemoveLayer
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.PartyEnhancementLayerPatchPrefix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyCharacterVM.Upgrade
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.ChooseUpgradePathPatchPrefix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyTroopManagerVM.OpenPopUp
    • Postfixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.PopupPatchPostfixOpen;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyTroopManagerVM.ExecuteDone
    • Postfixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.PopupPatchPostfixClose;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyTroopManagerVM.ConfirmCancel
    • Postfixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.PopupPatchPostfixCancel;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyVM.ExecuteOpenUpgradePopUp
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.QuickUpgradePatchPrefixOpenUpgrade;

  • TaleWorlds.CampaignSystem.ViewModelCollection.PartyVM.ExecuteOpenRecruitPopUp
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.QuickUpgradePatchPrefixOpenRecruit;

  • TaleWorlds.CampaignSystem.ViewModelCollection.UpgradeTargetVM.Refresh
    • Prefixes
      • Owner: top.hirtol.patch.partyenhancements; Namespace: PartyScreenEnhancements.Patches.UpgradeButtonTooltipPatchPrefix;

  • 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.CampaignSystem.SandBox.GameComponents.DefaultClanFinanceModel.CalculateClanGoldChange
    • Postfixes
      • Owner: pointfeev.sortedincome; Namespace: SortedIncome.SortingSorterPatch;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultClanFinanceModel.CalculateClanIncome
    • Postfixes
      • Owner: pointfeev.sortedincome; Namespace: SortedIncome.SortingSorterPatch;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultClanFinanceModel.CalculateClanExpenses
    • Postfixes
      • Owner: pointfeev.sortedincome; Namespace: SortedIncome.SortingSorterPatch;

  • ImprovedGarrisons.Models.GarrisonCostModel.CalculateClanGoldChange
    • Postfixes
      • Owner: pointfeev.sortedincome; Namespace: SortedIncome.SortingSorterPatch;

  • ImprovedGarrisons.Models.GarrisonCostModel.CalculateClanExpenses
    • Postfixes
      • Owner: pointfeev.sortedincome; Namespace: SortedIncome.SortingSorterPatch;