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.

If you click attempt to continue, the program will ignore this error and continue running, however there is a risk your game will be in corrupted state.

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 control Better Exception Window behaviour by editing config.json in BetterExceptionWindow submodule folder.

{butterlibMessage} {additionalMessage}


+ Reason

Source: {faultingSource}

{errorString}

+ Inner exception

Source: {innerFaultingSource}

{innerException}

+ 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:
{innerExceptionCallStack}
Outer exception callstack:
{fullStackString}

+ 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 {logtime}


{gameLogs}

+ 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


Attach screenshot.
Capture current game screenshot and attach it to this error report.


Attach latest save game to this error report.
You can extract the save game by opening this error report in the browser.


Dump the memory content.
This will dump the contents of the program memory into a file so it can be analysed later.
Memory dump can be quite big so BEW will save this dump seperately.
Dump full memory.


Go to the top

Generated by {version} {commit}