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.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
CallStack:
  1. at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
  2. at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
  3. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  4. at TaleWorlds.SaveSystem.Load.LoadCallbackInitializator.InitializeObjects()
  5. at TaleWorlds.Core.Game.LoadSaveGame(LoadResult loadResult, GameManagerBase gameManager)
  6. at SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, GameManagerLoadingSteps& nextStep)
  7. at TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager()
  8. at TaleWorlds.MountAndBlade.GameLoadingState.OnTick(Single dt)
  9. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
  10. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  11. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)


Inner Exception information
Type: System.ArgumentException
Message: An item with the same key has already been added.
Source: mscorlib
CallStack:
  1. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
  2. at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
  3. at TaleWorlds.ObjectSystem.MBObjectManager.ObjectTypeRecord`1.TaleWorlds.ObjectSystem.MBObjectManager.IObjectTypeRecord.RegisterMBObjectWithoutInitialization(MBObjectBase mbObject)
  4. at TaleWorlds.ObjectSystem.MBObjectManager.TryRegisterObjectWithoutInitialization(MBObjectBase obj)
  5. at TaleWorlds.ObjectSystem.MBObjectBase.OnBeforeLoad()

+ Involved Modules

  • Sandbox
    • Method: virtual System.Void SandBox.SandBoxGameManager::DoLoadingForGameManager(TaleWorlds.Core.GameManagerLoadingSteps gameManagerLoadingStep, TaleWorlds.Core.GameManagerLoadingSteps& nextStep)
      Frame: DoLoadingForGameManager at offset 462 in file:line:column :0:0

+ Installed Modules

  • + Native (Native, e1.6.1.0)
  • + SandBox Core (SandBoxCore, e1.6.1.0)
  • + Sandbox (Sandbox, e1.6.1.0)
  • + StoryMode (StoryMode, e1.6.1.0)
  • + CustomBattle (CustomBattle, e1.6.1.0)
  • + 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)
  • + Recruit Prisoners Right Away (RecruitPrisonersRightAway, v1.0.2.0)
  • + Improved Garrisons (ImprovedGarrisons, v4.0.3.6)
  • + RecruitablePrisonersMods (RecruitablePrisonersMods, v0.0.7.0)
  • + Telepathy (Telepathy, v0.7.0.0)
  • + Captivity Events (zCaptivityEvents, v1.6.1.1030)
  • + Default Captivity Events (zCEDefaults, v1.6.1.1030)
  • + JP Localization (Japanese, v1.20.0.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;
      • Owner: Bannerlord.Harmony.GauntletUISubModule; Namespace: Bannerlord.Harmony.SubModuleOnBeforeInitialModuleScreenSetAsRootPostfix; Index: 1;

  • 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;

  • 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;

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

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultPrisonerRecruitmentCalculationModel.CalculateRecruitableNumber
    • Postfixes
      • Owner: hsngrms.recruit.prisoners.rightaway; Namespace: RecruitPrisonersRightAway.RecruitablePrisonerNumberModificationPostfix;

  • Telepathy.TelepathySubModule.PrintPatchingError
    • Prefixes
      • Owner: Telepathy; Namespace: Telepathy.TelepathySubModulePatchPrefix;

  • TaleWorlds.CampaignSystem.FlattenedTroopRoster.GenerateUniqueNoFromParty
    • Prefixes
      • Owner: Telepathy; Namespace: Telepathy.Patches.FlattenedTroopRosterPatchPrefix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaHeroPageVM.Refresh
    • Prefixes
      • Owner: Telepathy; Namespace: Telepathy.Patches.EncyclopediaHeroPageVMPatchPrefix;

  • 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.Attributes.get_All
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchAttributesAll;

  • TaleWorlds.CampaignSystem.ViewModelCollection.ClanManagement.Categories.ClanIncomeVM.RefreshList
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchClanIncomeVMRefreshList;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultClanFinanceModel.CalculateClanIncomeInternal
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchDefaultClanFinanceModelCalculateClanIncomeInternal;

  • TaleWorlds.CampaignSystem.GameMenus.GameMenu.ActivateGameMenu
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchGameMenuActivateGameMenu;

  • TaleWorlds.CampaignSystem.GameMenus.GameMenu.SwitchToMenu
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchGameMenuSwitchToMenu;

  • TaleWorlds.CampaignSystem.Hero.get_Spouse
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEHeroPatchPostfix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapNotificationVM.GetNotificationFromData
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEMapNotificationVMGetNotificationFromData;

  • TaleWorlds.CampaignSystem.PlayerCaptivity.StartCaptivity
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPlayerCaptivityStartCaptivity;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.PregnancyCampaignBehavior.ChildConceived
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPregnancyCampaignBehaviorChildConceived;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.PrisonerReleaseCampaignBehavior.OnGameLoaded
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPrisonerReleaseCampaignBehaviorOnGameLoaded;

  • TaleWorlds.CampaignSystem.Skills.get_All
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchSkillsAll;

  • 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;