Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

View Stats:
_2_Man_ Mar 10, 2024 @ 2:20pm
[h2] Help me find out the cause of the CRASH [/h2]
Constant crashes when trying to give lands to a companion.
I use mods. And most likely there is a conflict. But please help me find out which mod is interfering, and perhaps solve this problem. THX!

Here crashreport

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. Launcher: explorer (10.0.19041.2311 (WinBuild.160101.0800)) Runtime: .NET Framework 4.8.9139.0 LauncherEx Version: 1.24.3 Without Color: Font Size: Standard - Exception Exception information Type: System.Reflection.TargetInvocationException Message: Exception has been thrown by the target of an invocation. Source: mscorlib CallStack: at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) at object TaleWorlds.Library.Common.InvokeWithLog(MethodInfo methodInfo, object obj, params object[] args) at void TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(ViewModel this, string commandName, object[] parameters) at void TaleWorlds.GauntletUI.Data.GauntletView.OnCommand(string command, object[] args) at void TaleWorlds.GauntletUI.BaseTypes.Widget.EventFired(string eventName, params object[] args) at void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.HandleClick() at void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.OnMouseReleased() at void TaleWorlds.GauntletUI.EventManager.MouseUp() at void TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs) at void TaleWorlds.ScreenSystem.ScreenManager.Update() at void TaleWorlds.ScreenSystem.ScreenManager.Tick(float dt, bool activeMouseVisible) at void ManagedCallbacks.EngineCallbacksGenerated.EngineScreenManager_Tick_Patch1(float dt) Inner Exception information Type: System.NullReferenceException Message: Object reference not set to an instance of an object. Source: SandBox CallStack: at Equipment SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.GetNewEquipmentForCompanion(Hero companionHero, bool isCivilian) at void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.AdjustCompanionsEquipment(Hero companionHero) at void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.ClanNameSelectionIsDone(string clanName) at void TaleWorlds.MountAndBlade.ViewModelCollection.Inquiries.TextQueryPopUpVM.ExecuteAffirmativeAction() - Enhanced Stacktrace Frame: Equipment SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.GetNewEquipmentForCompanion(Hero companionHero, bool isCivilian) (IL Offset: 0) Module: Sandbox Method: static TaleWorlds.Core.Equipment SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::GetNewEquipmentForCompanion(TaleWorlds.CampaignSystem.Hero companionHero, System.Boolean isCivilian) Method From Stackframe Issue: False CIL: Frame: void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.AdjustCompanionsEquipment(Hero companionHero) (IL Offset: 0) Module: Sandbox Method: static System.Void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::AdjustCompanionsEquipment(TaleWorlds.CampaignSystem.Hero companionHero) Method From Stackframe Issue: False CIL: Frame: void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.ClanNameSelectionIsDone(string clanName) (IL Offset: 266) Module: Sandbox Method: static System.Void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::ClanNameSelectionIsDone(System.String clanName) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.MountAndBlade.ViewModelCollection.Inquiries.TextQueryPopUpVM.ExecuteAffirmativeAction() (IL Offset: 0) Module: UNKNOWN Method: virtual System.Void TaleWorlds.MountAndBlade.ViewModelCollection.Inquiries.TextQueryPopUpVM::ExecuteAffirmativeAction() Method From Stackframe Issue: False CIL: Frame: object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) (IL Offset: -1) Module: UNKNOWN Method: static System.Object System.RuntimeMethodHandle::InvokeMethod(System.Object target, System.Object[] arguments, System.Signature sig, System.Boolean constructor) Method From Stackframe Issue: False CIL: Frame: object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) (IL Offset: 57) Module: UNKNOWN Method: System.Object System.Reflection.RuntimeMethodInfo::UnsafeInvokeInternal(System.Object obj, System.Object[] parameters, System.Object[] arguments) Method From Stackframe Issue: False CIL: Frame: object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) (IL Offset: 108) Module: UNKNOWN Method: virtual System.Object System.Reflection.RuntimeMethodInfo::Invoke(System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Method From Stackframe Issue: False CIL: Frame: object TaleWorlds.Library.Common.InvokeWithLog(MethodInfo methodInfo, object obj, params object[] args) (IL Offset: 23) Module: UNKNOWN Method: static System.Object TaleWorlds.Library.Common::InvokeWithLog(System.Reflection.MethodInfo methodInfo, System.Object obj, System.Object[] args) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(ViewModel this, string commandName, object[] parameters) (IL Offset: -1) Module: Bannerlord.UIExtenderEx Method: static System.Boolean Bannerlord.UIExtenderEx.Patches.ViewModelPatch::ExecuteCommandPatch(System.Object __instance, System.String commandName, System.Object[] parameters) Method From Stackframe Issue: False Module: UNKNOWN Method: static System.Void TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(TaleWorlds.Library.ViewModel this, System.String commandName, System.Object[] parameters) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.Data.GauntletView.OnCommand(string command, object[] args) (IL Offset: 235) Module: UNKNOWN Method: System.Void TaleWorlds.GauntletUI.Data.GauntletView::OnCommand(System.String command, System.Object[] args) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.BaseTypes.Widget.EventFired(string eventName, params object[] args) (IL Offset: 32) Module: UNKNOWN Method: System.Void TaleWorlds.GauntletUI.BaseTypes.Widget::EventFired(System.String eventName, System.Object[] args) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.HandleClick() (IL Offset: 140) Module: UNKNOWN Method: virtual System.Void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget::HandleClick() Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.OnMouseReleased() (IL Offset: 80) Module: UNKNOWN Method: virtual System.Void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget::OnMouseReleased() Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.EventManager.MouseUp() (IL Offset: 170) Module: UNKNOWN Method: System.Void TaleWorlds.GauntletUI.EventManager::MouseUp() Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs) (IL Offset: 165) Module: UNKNOWN Method: System.Void TaleWorlds.GauntletUI.UIContext::UpdateInput(TaleWorlds.Library.InputType handleInputs) Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.ScreenSystem.ScreenManager.Update() (IL Offset: 157) Module: UNKNOWN Method: static System.Void TaleWorlds.ScreenSystem.ScreenManager::Update() Method From Stackframe Issue: False CIL: Frame: void TaleWorlds.ScreenSystem.ScreenManager.Tick(float dt, bool activeMouseVisible) (IL Offset: 49) Module: UNKNOWN Method: static System.Void TaleWorlds.ScreenSystem.ScreenManager::Tick(System.Single dt, System.Boolean activeMouseVisible) Method From Stackframe Issue: False CIL: Frame: void ManagedCallbacks.EngineCallbacksGenerated.EngineScreenManager_Tick_Patch1(float dt) (IL Offset: -1) Module: UNKNOWN Method: static System.Void ManagedCallbacks.EngineCallbacksGenerated.EngineScreenManager_Tick_Patch1(System.Single dt) Method From Stackframe Issue: False CIL: - Involved Modules Sandbox Method: static TaleWorlds.Core.Equipment SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::GetNewEquipmentForCompanion(TaleWorlds.CampaignSystem.Hero companionHero, System.Boolean isCivilian) Frame: Equipment SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.GetNewEquipmentForCompanion(Hero companionHero, bool isCivilian) (IL Offset: 0) HarmonyIssue: False Method: static System.Void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::AdjustCompanionsEquipment(TaleWorlds.CampaignSystem.Hero companionHero) Frame: void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.AdjustCompanionsEquipment(Hero companionHero) (IL Offset: 0) HarmonyIssue: False Method: static System.Void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior::ClanNameSelectionIsDone(System.String clanName) Frame: void SandBox.CampaignBehaviors.CompanionRolesCampaignBehavior.ClanNameSelectionIsDone(string clanName) (IL Offset: 266) HarmonyIssue: False Bannerlord.UIExtenderEx Method: static System.Boolean Bannerlord.UIExtenderEx.Patches.ViewModelPatch::ExecuteCommandPatch(System.Object __instance, System.String commandName, System.Object[] parameters) Frame: void TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(ViewModel this, string commandName, object[] parameters) (IL Offset: -1) HarmonyIssue: False
< >
Showing 1-11 of 11 comments
Ardariel Mar 10, 2024 @ 2:31pm 
By a quick glance there is issue with equipment on one of our companions. So if you have mod that deals with equipment i would recommend to turn it off. We;;, load game, uneqip or destroy modded equipment, then save, quit game, uninstall suspected md and then load last save.
AfLIcTeD Mar 10, 2024 @ 2:52pm 
I love playing the guessing game.
Clovis Sangrail Mar 11, 2024 @ 7:24am 
Originally posted by _2_Man_:
Help me find out the cause of the CRASH

Originally posted by _2_Man_:
I use mods.

Well, there you go. And since you probably slammed them in all at once, you have no idea which one is causing it.

Fortunately, there is an excellent pinned topic in the Technical Support subforum that will help you -- How to remove modifications -- https://steamcommunity.com/app/261550/discussions/17/2968397584539744282/

Follow the instructions and get to deleting, and when you put them back in, do it one at a time and test, like the big boy developers do.
Ardariel Mar 11, 2024 @ 7:26am 
Originally posted by Clovis Sangrail:
Originally posted by _2_Man_:
Help me find out the cause of the CRASH

Originally posted by _2_Man_:
I use mods.

Well, there you go. And since you probably slammed them in all at once, you have no idea which one is causing it.

Fortunately, there is an excellent pinned topic in the Technical Support subforum that will help you -- How to remove modifications -- https://steamcommunity.com/app/261550/discussions/17/2968397584539744282/

Follow the instructions and get to deleting, and when you put them back in, do it one at a time and test, like the big boy developers do.
you missed the point. He asking for help finding mods at conflict. Meaning, he want to play with mods and trying to find which combination would work. He is well aware that his problem is most likely caused by mod conflict.
_2_Man_ Mar 11, 2024 @ 9:24am 
Originally posted by Ardariel:
Originally posted by Clovis Sangrail:



Well, there you go. And since you probably slammed them in all at once, you have no idea which one is causing it.

Fortunately, there is an excellent pinned topic in the Technical Support subforum that will help you -- How to remove modifications -- https://steamcommunity.com/app/261550/discussions/17/2968397584539744282/

Follow the instructions and get to deleting, and when you put them back in, do it one at a time and test, like the big boy developers do.
you missed the point. He asking for help finding mods at conflict. Meaning, he want to play with mods and trying to find which combination would work. He is well aware that his problem is most likely caused by mod conflict.


Yes, I understand that the error is due to the mod. But unfortunately, I don’t understand crash logs, and I don’t understand which mod is the problem.
I think that the report contains a description of the problem.
I have a crashreport in html format, but I don't know how to upload it for you to look at.
Clovis Sangrail Mar 11, 2024 @ 9:27am 
Originally posted by Ardariel:
Originally posted by Clovis Sangrail:


Well, there you go. And since you probably slammed them in all at once, you have no idea which one is causing it.

Fortunately, there is an excellent pinned topic in the Technical Support subforum that will help you -- How to remove modifications -- https://steamcommunity.com/app/261550/discussions/17/2968397584539744282/

Follow the instructions and get to deleting, and when you put them back in, do it one at a time and test, like the big boy developers do.
you missed the point. He asking for help finding mods at conflict. Meaning, he want to play with mods and trying to find which combination would work. He is well aware that his problem is most likely caused by mod conflict.

I didn't miss the point at all. He said 'please help me find out which mod is interfering', and what I told him to do -- delete and reinstall one at a time and test as he goes -- will do exactly that. Plus, I gave him the link to the blueprint for doing that properly.
_2_Man_ Mar 11, 2024 @ 9:38am 
Originally posted by Clovis Sangrail:
Originally posted by Ardariel:
you missed the point. He asking for help finding mods at conflict. Meaning, he want to play with mods and trying to find which combination would work. He is well aware that his problem is most likely caused by mod conflict.

I didn't miss the point at all. He said 'please help me find out which mod is interfering', and what I told him to do -- delete and reinstall one at a time and test as he goes -- will do exactly that. Plus, I gave him the link to the blueprint for doing that properly.

Thanks for the link, if I can’t figure it out through the crash report, I’ll definitely use it...

I converted the html crash report to pdf and uploaded it to google drive. Here is the link, I hope there is a reason for the crash.

https://drive.google.com/file/d/1Dbu0yAbWoNRtkxcVk9Jq4oldfPTOMtiq/view?usp=sharing

UPD: It must be downloaded for the page to display normally.
Last edited by _2_Man_; Mar 11, 2024 @ 9:40am
Ruffio Mar 11, 2024 @ 9:41am 
Originally posted by _2_Man_:
Originally posted by Ardariel:
you missed the point. He asking for help finding mods at conflict. Meaning, he want to play with mods and trying to find which combination would work. He is well aware that his problem is most likely caused by mod conflict.


Yes, I understand that the error is due to the mod. But unfortunately, I don’t understand crash logs, and I don’t understand which mod is the problem.
I think that the report contains a description of the problem.
I have a crashreport in html format, but I don't know how to upload it for you to look at.

Ardariel did point out it seems its related to equipment on one of your companions. So if you have a mod that modify/add etc equipment then that could be the cause. Then it's up to you to figure out which of your mods you use that do such changes. You didn't exactly include a list of mods you using.

Modding is basically a trial by fire. Modders doesn't do any QA or make sure mods is compatible with other mods. That fall all on you the user to figure out what works or not. In that regard Clovis's response above make sense, but of course it include effort.
_2_Man_ Mar 11, 2024 @ 9:46am 
Originally posted by Ruffio:
Originally posted by _2_Man_:


Yes, I understand that the error is due to the mod. But unfortunately, I don’t understand crash logs, and I don’t understand which mod is the problem.
I think that the report contains a description of the problem.
I have a crashreport in html format, but I don't know how to upload it for you to look at.

Ardariel did point out it seems its related to equipment on one of your companions. So if you have a mod that modify/add etc equipment then that could be the cause. Then it's up to you to figure out which of your mods you use that do such changes. You didn't exactly include a list of mods you using.

Modding is basically a trial by fire. Modders doesn't do any QA or make sure mods is compatible with other mods. That fall all on you the user to figure out what works or not. In that regard Clovis's response above make sense, but of course it include effort.


Yes, I understand this perfectly.
Regarding equipment, I just checked and took all the equipment and army from my companion. But the crash still happens when I try to give fortress to my companion.
Ruffio Mar 11, 2024 @ 9:50am 
Originally posted by _2_Man_:
Originally posted by Ruffio:

Ardariel did point out it seems its related to equipment on one of your companions. So if you have a mod that modify/add etc equipment then that could be the cause. Then it's up to you to figure out which of your mods you use that do such changes. You didn't exactly include a list of mods you using.

Modding is basically a trial by fire. Modders doesn't do any QA or make sure mods is compatible with other mods. That fall all on you the user to figure out what works or not. In that regard Clovis's response above make sense, but of course it include effort.


Yes, I understand this perfectly.
Regarding equipment, I just checked and took all the equipment and army from my companion. But the crash still happens when I try to give fortress to my companion.

Issue with mods is they leave data in your save file. So even you might figure out what mod is the cause, just remove the mod won't fix the issue, because it doesn't clean your save file from data left behind that could cause a crash. Sometimes you end up have to start over. Good luck figure it out though.
Ardariel Mar 11, 2024 @ 9:57am 
Originally posted by _2_Man_:
Originally posted by Ruffio:

Ardariel did point out it seems its related to equipment on one of your companions. So if you have a mod that modify/add etc equipment then that could be the cause. Then it's up to you to figure out which of your mods you use that do such changes. You didn't exactly include a list of mods you using.

Modding is basically a trial by fire. Modders doesn't do any QA or make sure mods is compatible with other mods. That fall all on you the user to figure out what works or not. In that regard Clovis's response above make sense, but of course it include effort.


Yes, I understand this perfectly.
Regarding equipment, I just checked and took all the equipment and army from my companion. But the crash still happens when I try to give fortress to my companion.
did you do it in sequence i fescribed earlier?
If notm, just removing equoment is pointless.
If you did, then there is only 2 way left to deal with issue - remove mod in question and start over OR dig into the problem yourself, get debugger and try to fix the issue manually.
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Mar 10, 2024 @ 2:20pm
Posts: 11