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 module XMLs, manifest (submodule.xml), or DLL (bad one or permission error).

If you have Community Patch installed, please click Attempt to Continue in order to capture logs that will be generated by it.
Or If you're debugging, you can disable the error window individually in config.json in BetterExceptionWindow submodule folder.


+ Reason

Source: mscorlib

Value cannot be null. Parameter name: key

+ 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.

Inner exception callstack:
No inner exception was thrown
Outer exception callstack:
   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CaravansCampaignBehavior.UpdateAverageValues()
   at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CaravansCampaignBehavior.OnSessionLaunched(CampaignGameStarter campaignGameStarter)
   at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
   at TaleWorlds.CampaignSystem.CampaignEvents.OnSessionStart(CampaignGameStarter campaignGameStarter)
   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnSessionStart(CampaignGameStarter campaignGameStarter)
   at TaleWorlds.CampaignSystem.Campaign.OnSessionStart(CampaignGameStarter starter)
   at TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
   at StoryMode.CampaignStoryMode.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, GameTypeLoadingStates& nextState)
   at TaleWorlds.Core.GameType.DoLoadingForGameType()
   at SandBox.CampaignGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, GameManagerLoadingSteps& nextStep)
   at TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager()
   at TaleWorlds.MountAndBlade.GameLoadingState.OnTick(Single dt)
   at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
   at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch11(Module this, Single dt)
   at TaleWorlds.DotNet.Managed.ApplicationTick_Patch2(Single dt)

+ Installed mods

Hide taleworlds mods

Hide unloaded mods

+ Loaded DLLs

Hide taleworlds dll

+ 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. This might not work!