Sid Meier's Civilization V

Sid Meier's Civilization V

__Gaia's Core Mod__
Hawk27 25 Sep, 2022 @ 12:31pm
Razing City Causing Game Crash
I've been seeing a lot of crashes in-game, with each occurring while processing a new turn. I press "end turn", it starts to do things, and then the screen is briefly black and I'm at my desktop.

It took a while to figure out a repeatable cause (and I'm still not 100% sure), but it looks like it crashes on the final turn of razing a city, the turn where the city is deleted from the game. I even tried making sure I only had one unit stationed in the city so it wouldn't have to compute the un-stacking, but it didn't help. I loaded a save one turn before the razing, stopped the razing, and it computed the next turn just fine.

The autosave process might be a factor too, as the razing landed on an autosave turn from 219 to 220. In a different game I was having a crash at the turn 160 autosave, and I am pretty sure I had a city being razed at the time in that game.

It's not every city though. In the current game it's the second city I've razed, but in some games it was the first. So, I wonder if certain buildings might be the problem?

Mods in use:
Gaia's Core (v290), Sapiens (v291), Transport Networks (v1), Canals (v283)
Future Worlds (v6) w/ Gaia's patch (v277)
In-Game Editor (v39)

Buildings in the city being razed:
Aqueduct
Amphitheater
Caravansary (free due to social policy or wonder - seems like higher bug risk?)
Circus
Council
Fishpond
Flatland Pallisade
Forge
Garden
Granary
Library
Mandir (seems like higher bug risk because it's a special building from faith)
Market
Smelter
Tannery
Workshop

I'll update if I discover more. @Gaia, let me know if other information, like the game logs, would be helpful.