This fixes a longstanding mysterious crash, which thanks to improved logging and the ability to set a fixed seed, was determined to be caused by zombie units.
These units no longer move around and cause crashes, and should be properly garbage collected the next turn now that they don't cause crashes.
You can use fixed seed 1626442457 to test this solving a crash that happens after turn 18. See the issue card for full notes.
Please review 357 first! The reproducible case for this depends on the changes made there.
This fixes a longstanding mysterious crash, which thanks to improved logging and the ability to set a fixed seed, was determined to be caused by zombie units.
These units no longer move around and cause crashes, and should be properly garbage collected the next turn now that they don't cause crashes.
You can use fixed seed 1626442457 to test this solving a crash that happens after turn 18. See the issue card for full notes.
Please review 357 first! The reproducible case for this depends on the changes made there.