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: HarmonyLib.HarmonyException
Message: Patching exception in method System.Void TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.DefaultNotificationsCampaignBehavior::OnRelationChanged(TaleWorlds.CampaignSystem.Hero effectiveHero, TaleWorlds.CampaignSystem.Hero effectiveHeroGainedRelationWith, System.Int32 relationChange, System.Boolean showNotification, TaleWorlds.CampaignSystem.Actions.ChangeRelationDetail detail, TaleWorlds.CampaignSystem.Hero originalHero, TaleWorlds.CampaignSystem.Hero originalGainedRelationWith)
Source: 0Harmony
CallStack:
  1. at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
  2. at HarmonyLib.PatchClassProcessor.Patch()
  3. at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
  4. at TrueNobleOpinion.SubModule.OnBeforeInitialModuleScreenSetAsRoot()
  5. at TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen_Patch0(Module this)
  6. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  7. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)


Inner Exception information
Type: System.Exception
Message: Parameter "hero" not found in method System.Void TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.DefaultNotificationsCampaignBehavior::OnRelationChanged(TaleWorlds.CampaignSystem.Hero effectiveHero, TaleWorlds.CampaignSystem.Hero effectiveHeroGainedRelationWith, System.Int32 relationChange, System.Boolean showNotification, TaleWorlds.CampaignSystem.Actions.ChangeRelationDetail detail, TaleWorlds.CampaignSystem.Hero originalHero, TaleWorlds.CampaignSystem.Hero originalGainedRelationWith)
Source: 0Harmony
CallStack:
  1. at HarmonyLib.MethodPatcher.EmitCallParameter(MethodInfo patch, Dictionary`2 variables, LocalBuilder runOriginalVariable, Boolean allowFirsParamPassthrough, LocalBuilder& tmpObjectVar, List`1 tmpBoxVars)
  2. at HarmonyLib.MethodPatcher.<>c__DisplayClass32_0.b__0(MethodInfo fix)
  3. at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
  4. at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
  5. at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
  6. at HarmonyLib.PatchClassProcessor.ProcessPatchJob(Job job)

+ Involved Modules

  • Bannerlord.Harmony
    • Method: System.Void HarmonyLib.MethodPatcher::EmitCallParameter(System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2 variables, System.Reflection.Emit.LocalBuilder runOriginalVariable, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List`1> tmpBoxVars)
      Frame: EmitCallParameter at offset 8791 in file:line:column :0:0
    • Method: System.Void HarmonyLib.<>c__DisplayClass32_0::b__0(System.Reflection.MethodInfo fix)
      Frame: b__0 at offset 499 in file:line:column :0:0
    • Method: static System.Void HarmonyLib.CollectionExtensions::Do(System.Collections.Generic.IEnumerable`1 sequence, System.Action`1 action)
      Frame: Do at offset 160 in file:line:column :0:0
    • Method: System.Reflection.MethodInfo HarmonyLib.MethodPatcher::CreateReplacement(System.Collections.Generic.Dictionary`2& finalInstructions)
      Frame: CreateReplacement at offset 899 in file:line:column :0:0
    • Method: static System.Reflection.MethodInfo HarmonyLib.PatchFunctions::UpdateWrapper(System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo)
      Frame: UpdateWrapper at offset 337 in file:line:column :0:0
    • Method: System.Void HarmonyLib.PatchClassProcessor::ProcessPatchJob(HarmonyLib.Job job)
      Frame: ProcessPatchJob at offset 473 in file:line:column :0:0
    • Method: System.Void HarmonyLib.PatchClassProcessor::ReportException(System.Exception exception, System.Reflection.MethodBase original)
      Frame: ReportException at offset 697 in file:line:column :0:0
    • Method: System.Collections.Generic.List`1 HarmonyLib.PatchClassProcessor::Patch()
      Frame: Patch at offset 405 in file:line:column :0:0
    • Method: static System.Void HarmonyLib.CollectionExtensions::Do(System.Collections.Generic.IEnumerable`1 sequence, System.Action`1 action)
      Frame: Do at offset 160 in file:line:column :0:0
  • TrueNobleOpinion
    • Method: virtual System.Void TrueNobleOpinion.SubModule::OnBeforeInitialModuleScreenSetAsRoot()
      Frame: OnBeforeInitialModuleScreenSetAsRoot at offset 95 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.5.0)
  • + SandBox Core (SandBoxCore, e1.6.5.0)
  • + Sandbox (Sandbox, e1.6.5.0)
  • + CustomBattle (CustomBattle, e1.6.5.0)
  • + StoryMode (StoryMode, e1.6.5.0)
  • + Dismemberment (Plus) (DismembermentPlus, v2.0.1.4)
  • + Improved Garrisons (ImprovedGarrisons, v4.0.3.11)
  • + KillBanditsRaiseRelations (KillBanditsRaiseRelations, v1.6.3.0)
  • + LootLord (LootLord, v2.2.2.0)
  • + True Noble Opinion (TrueNobleOpinion, v1.1.1.0)
  • + True Relations (TrueRelations, v1.4.3.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.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.PartyScreenLogic.ExecuteTroop
    • Postfixes
      • Owner: LootLord; Namespace: LootLord.PartyScreenLogic_LootLordPostfix;

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