In Progress [1.4.3] Crash after invoking console.clear in Dev Console

Users who are viewing this thread

Hello,

There's a crash that happens whenever you use the console.clear command in the Developer Console. Tested it with the Bannerlord.exe hooked up to Visual Studio 2019 (as recommended and explained by that modding guide here ), although it also happens when you use the vanilla launcher from Steam as a normal person would.

The stack trace from VS19:

System.IO.IOException
HResult = 0x80070006
Message=The handle is invalid.

Source=mscorlib
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at System.Console.Clear()
at TaleWorlds.Engine.MBDebug.ClearConsole(List`1 strings)
at TaleWorlds.Library.CommandLineFunctionality.CallFunction(String concatName, String concatArguments, Boolean& found)
at ManagedCallbacks.LibraryCallbacksGenerated.Managed_CallCommandlineFunction(IntPtr functionName, IntPtr arguments)
 
Back
Top Bottom