An unhandled exception occured!




Bannerlord has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the progress you were working on might be lost.

This error can be caused by a faulty XMLs, manifest (submodule.xml), corrupted save game, module, or programming errors.
If this keeps happening, consider saving the error report and send it to the module authors or run a troubleshoot to solve the issues.

You can disable the error window individually in config.json in BetterExceptionWindow submodule folder.


+ Reason

Source: TaleWorlds.CampaignSystem

Object reference not set to an instance of an object.

+ Inner exception

Source: No module

No inner exception was thrown

+ Callstacks

Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line. You can restart with dnSpy attached.

Inner exception callstack:
No inner exception was thrown
Outer exception callstack:
   at TaleWorlds.CampaignSystem.GameComponents.DefaultPartyWageModel.GetTotalWage_Patch2(DefaultPartyWageModel this, IntPtr retbuf, MobileParty mobileParty, Boolean includeDescriptions)
   at TaleWorlds.CampaignSystem.Party.MobileParty.get_TotalWage_Patch1(MobileParty this)
   at TaleWorlds.CampaignSystem.GameComponents.DefaultClanFinanceModel.CalculatePartyWage(MobileParty mobileParty, Int32 budget, Boolean applyWithdrawals)
   at TaleWorlds.CampaignSystem.GameComponents.DefaultClanFinanceModel.AddPartyExpense(MobileParty party, Clan clan, ExplainedNumber& goldChange, Boolean applyWithdrawals)
   at TaleWorlds.CampaignSystem.GameComponents.DefaultClanFinanceModel.AddExpensesFromParties(Clan clan, ExplainedNumber& goldChange, Boolean applyWithdrawals)
   at TaleWorlds.CampaignSystem.GameComponents.DefaultClanFinanceModel.CalculateClanExpensesInternal(Clan clan, ExplainedNumber& goldChange, Boolean applyWithdrawals)
   at TaleWorlds.CampaignSystem.GameComponents.DefaultClanFinanceModel.CalculateClanGoldChange(Clan clan, Boolean includeDescriptions, Boolean applyWithdrawals)
   at TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior.DailyTickClan(Clan clan)
   at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
   at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickClan(Clan clan)
   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickClan(Clan clan)
   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
   at TaleWorlds.CampaignSystem.Campaign.Tick()
   at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
   at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
   at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
   at TaleWorlds.Core.Game.OnTick(Single dt)
   at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
   at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch10(Module this, Single dt)

+ Installed mods

Hide taleworlds mods

Hide unloaded mods

+ Loaded DLLs

Hide taleworlds dll

+ Game Engine Logs

Recorded logs from the game engine (RGL). Taken at 2022-08-31 01:01:58 GMT+8


Starting new log file...
[01:01:58.927] 31 Aug 2022 Wednesday 01:01 �й���׼ʱ��
[01:01:58.928] Computer: PC-20210815CETT User: Administrator
[01:01:58.928] Build Version: 321460

+ Harmony Patches

+ Troubleshoot

You can try several troubleshoot options down below.

Check for XML typos if an error were caused by faulty XMLs, tap the button on the right to validate them.


Attempt to disable faulty mods. This option may only work with the original Taleworlds Launcher.


Emergency save.
Forcefully to save the game. Keep in mind there are some cases where this is not possible to do.


Restart the program in debug mode.
Restart the program with dnSpy debugger and decompiler attached. This may helps you debug and even made patches to a faulty mod without a source code. What is dnSpy?
It will disable BetterExceptionWindow temporarily until the next game restart.
Dnspy is not installed.

Install dnSpy



Generated by BetterExceptionWindow version 4.2 f7ffe19e2a858827d4893f166a74055425a5bde8