What did you do?
I was able to reproduce this pretty consistently with some effort. It seems to be independent of a specific save.
I created a new save, ran `/cheat` to give me a set of legendary Mech Armor with a bunch of legendary Exoskeletons to move as fast as I could. Then I just placed a bunch of machines (or even ghosts) while moving. I set the autosave interval to 1 minute to speed up reproduction. See attached reproduction video for a visual version of this explanation.
Wait for the autosave timer to tick down to zero while placing ghosts and the game crashes.
What happened?
The game crashes.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
The game not to crash and process the request to a place a machine after the saving is done.
Does it happen always, once, or sometimes?
In normal play, it happens sometimes, varying between once an hour or not at all during an entire play session.
When attempting to reproduce, I can get it to happen about half the time.
Environmental details
Game version: 2.0.21 (I noticed this on 2.0.20 current stable, but switched to latest experimental to verify it was still happening there)
OS: Linux (Arch)
Also of note: The save is written to an HDD, which will likely cause longer saving times.
Unfortunately, I see nothing in the log files explaining the crash. Full log files of two crashes attached.
95.368 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
96.368 Info GlobalContext.cpp Waiting for save to finish.
96.518 Quitting: window closed.
96.518 Info GlobalContext.cpp:760: Deleting active scenario.
96.894 Steam API shutdown.
96.896 Goodbye