Hi!
At Options -> Input -> Assign Inputs: pressing Assign Primary or Assign Secondary and then the Esc button the game crashes after clicking anywhere in the screen. The Visual Studio Debugger reported "Unhandled win32 exception" (attached screenshot)
Thank you for the bug report. I'll check this.