I faced this bug when I played it on my Linux machine: every time I moved the mouse into the game window, the game would crash. It can be corrected by compiling the game with Rust 1.47.0:
rustup toolchain add 1.47.0
rustup override set 1.47.0
cargo build --release --features vulkan