This bug is related to D1212. There is special case that was not covered and it is kind of rare but not impossible situation.
- start a map
- during loading do alt + tab and stay out of window
- after game is loaded and simulation tries to start it crashes