Bannerlord Crash Report

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.

Operating System: Windows (Windows 10.0.22631)
Launcher: steam (09.33.91.58)
Runtime: .NET Framework 4.8.9282.0


+ Exception

Exception Information:
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Stacktrace:
  1. at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
  2. at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
  3. at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
  4. at object TaleWorlds.Library.Common.InvokeWithLog(MethodInfo methodInfo, object obj, params object[] args)
  5. at void TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(ViewModel this, string commandName, object[] parameters)
  6. at void TaleWorlds.GauntletUI.Data.GauntletView.OnCommand(string command, object[] args)
  7. at void TaleWorlds.GauntletUI.BaseTypes.Widget.EventFired(string eventName, params object[] args)
  8. at void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.HandleClick()
  9. at void TaleWorlds.GauntletUI.BaseTypes.ButtonWidget.OnMouseReleased()
  10. at void TaleWorlds.GauntletUI.EventManager.MouseUp()
  11. at void TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
  12. at void TaleWorlds.ScreenSystem.ScreenManager.Update_Patch1()


Inner Exception Information:
Potential Source Module Id: ServeAsSoldier
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Stacktrace:
  1. at void ServeAsSoldier.StartingOptions.CharacterCreationOver() in C:/Users/18585/source/repos/FreelancerTemplate/FreelancerTemplate/StartingOptions.cs:line 168
  2. at void TaleWorlds.CampaignSystem.MbEvent.InvokeList(EventHandlerRec list)
  3. at void TaleWorlds.CampaignSystem.CampaignEvents.OnCharacterCreationIsOver()
  4. at void TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnCharacterCreationIsOver()
  5. at void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.NextStage()

+ Enhanced Stacktrace

+ Involved Modules and Plugins

From Highest Probability to Lowest:

+ Installed Modules

+ Assemblies

+ Native Assemblies

+ Harmony Patches

+ Log Files