Sid Meier's Civilization VII

Sid Meier's Civilization VII

Matt's Leaders: Leonardo da Vinci
Game Crash
When trying to progress to the modern era as Da Vinci my game crashes and tells me to look at the database log. Here is what it says.

[2025-09-05 12:54:50] [frontend]: Validating Foreign Key Constraints...
[2025-09-05 12:54:50] [frontend]: Passed Validation.
[2025-09-05 12:54:50] [localization]: StartupErrorMessages.xml
[2025-09-05 12:54:50] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:54:50] [localization]: Validating Foreign Key Constraints...
[2025-09-05 12:54:50] [localization]: Passed Validation.
[2025-09-05 12:54:50] [FullTextSearch]: Initializing FullTextSearch
[2025-09-05 12:54:50] [HallofFame]: Database found. Checking versions...
[2025-09-05 12:54:50] [HallofFame]: Database is up-to-date!
[2025-09-05 12:54:50] [HallofFame]: UpdateAggregateDataPoints took 0.000519 seconds.
[2025-09-05 12:54:52] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:54:52] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_VINCI', 0, 'MEMENTO_VINCI_GIOCONDA');'
[2025-09-05 12:54:52] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_VINCI, 0, MEMENTO_VINCI_GIOCONDA, ).
[2025-09-05 12:54:52] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:54:52] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:54:52] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:54:52] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_CROMWELL', 0, 'MEMENTO_CROMWELL_MACE');'
[2025-09-05 12:54:52] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_CROMWELL, 0, MEMENTO_CROMWELL_MACE, ).
[2025-09-05 12:54:52] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:54:52] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:54:52] [frontend]: Validating Foreign Key Constraints...
[2025-09-05 12:54:52] [frontend]: Passed Validation.
[2025-09-05 12:54:53] [HallofFame]: UpdateAggregateDataPoints took 0.104442 seconds.
[2025-09-05 12:55:22] [localization]: Rebuilding database.
[2025-09-05 12:55:22] [localization]: StartupErrorMessages.xml
[2025-09-05 12:55:22] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:55:22] [frontend]: Rebuilding database.
[2025-09-05 12:55:22] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:55:22] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_VINCI', 0, 'MEMENTO_VINCI_GIOCONDA');'
[2025-09-05 12:55:22] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_VINCI, 0, MEMENTO_VINCI_GIOCONDA, ).
[2025-09-05 12:55:22] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:55:22] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:55:22] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:55:22] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_CROMWELL', 0, 'MEMENTO_CROMWELL_MACE');'
[2025-09-05 12:55:22] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_CROMWELL, 0, MEMENTO_CROMWELL_MACE, ).
[2025-09-05 12:55:22] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:55:22] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:55:22] [frontend]: Validating Foreign Key Constraints...
[2025-09-05 12:55:22] [frontend]: Passed Validation.
[2025-09-05 12:55:22] [HallofFame]: UpdateAggregateDataPoints took 0.092607 seconds.
[2025-09-05 12:55:38] [localization]: Rebuilding database.
[2025-09-05 12:55:38] [localization]: StartupErrorMessages.xml
[2025-09-05 12:55:38] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:55:47] [gameplay]: Validating Foreign Key Constraints...
[2025-09-05 12:55:47] [gameplay]: Passed Validation.
[2025-09-05 12:55:48] [IconManager] ERROR: UNIQUE constraint failed: IconDefinitions.ID, IconDefinitions.Context, IconDefinitions.IconSize
[2025-09-05 12:55:48] [IconManager]: While executing - 'insert into IconDefinitions('ID', 'Path') values ('UNIT_FOEDERATI', 'fs://game/owain-glyndwr/icons/unit_guerilla.png');'
[2025-09-05 12:55:48] [IconManager]: In XMLSerializer while inserting row into table insert into IconDefinitions('ID', 'Path') with values (UNIT_FOEDERATI, fs://game/owain-glyndwr/icons/unit_guerilla.png, ).
[2025-09-05 12:55:48] [IconManager]: In XMLSerializer while updating table IconDefinitions from file File.
[2025-09-05 12:55:48] [IconManager] ERROR: UNIQUE constraint failed: IconDefinitions.ID, IconDefinitions.Context, IconDefinitions.IconSize
[2025-09-05 12:55:48] [IconManager]: B:/Steam Library/steamapps/workshop/content/1295660/3506931147/data/icons/unit-icons-exploration.xml
[2025-09-05 12:57:41] [FullTextSearch]: FTS - Creating Context
[2025-09-05 12:58:28] [localization]: Rebuilding database.
[2025-09-05 12:58:28] [localization]: StartupErrorMessages.xml
[2025-09-05 12:58:28] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:58:28] [frontend]: Rebuilding database.
[2025-09-05 12:58:28] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:28] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_VINCI', 0, 'MEMENTO_VINCI_GIOCONDA');'
[2025-09-05 12:58:28] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_VINCI, 0, MEMENTO_VINCI_GIOCONDA, ).
[2025-09-05 12:58:28] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:58:28] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:28] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:28] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_CROMWELL', 0, 'MEMENTO_CROMWELL_MACE');'
[2025-09-05 12:58:28] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_CROMWELL, 0, MEMENTO_CROMWELL_MACE, ).
[2025-09-05 12:58:28] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:58:28] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:28] [frontend]: Validating Foreign Key Constraints...
[2025-09-05 12:58:28] [frontend]: Passed Validation.
[2025-09-05 12:58:29] [HallofFame]: UpdateAggregateDataPoints took 0.089824 seconds.
[2025-09-05 12:58:38] [localization]: Rebuilding database.
[2025-09-05 12:58:38] [localization]: StartupErrorMessages.xml
[2025-09-05 12:58:38] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:58:38] [gameplay]: Rebuilding database.
[2025-09-05 12:58:44] [gameplay] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:44] [gameplay] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:44] [gameplay]: Validating Foreign Key Constraints...
[2025-09-05 12:58:44] [gameplay] ERROR: Invalid Reference on UnitAbilityModifiers.ModifierId - "MANDARIN_MOD_TRADE_CREATION_YIELD" does not exist in Modifiers
[2025-09-05 12:58:44] [gameplay] ERROR: Invalid Reference on UnitAbilityModifiers.ModifierId - "MANDARIN_BONUS_MOD_TRADE_CREATION_YIELD" does not exist in Modifiers
[2025-09-05 12:58:44] [gameplay] ERROR: Invalid Reference on UnitAbilityModifiers.ModifierId - "TAJIRO_MOD_TRADE_CREATION_YIELD" does not exist in Modifiers
[2025-09-05 12:58:44] [gameplay] ERROR: Invalid Reference on UnitAbilityModifiers.ModifierId - "TAJIRO_BONUS_MOD_TRADE_CREATION_YIELD" does not exist in Modifiers
[2025-09-05 12:58:44] [gameplay] ERROR: Invalid Reference on UnitAbilityModifiers.ModifierId - "TRADE_UNIT_MOD_NAVIGABLE_RIVER_PROTECTION" does not exist in Modifiers
[2025-09-05 12:58:44] [gameplay]: Failed Validation.
[2025-09-05 12:58:44] [gameplay]: Rebuilding database.
[2025-09-05 12:58:44] [localization]: Rebuilding database.
[2025-09-05 12:58:44] [localization]: StartupErrorMessages.xml
[2025-09-05 12:58:44] [localization]: Database XML root elements must start with either <Database> or <GameEffects>.
[2025-09-05 12:58:44] [frontend]: Rebuilding database.
[2025-09-05 12:58:45] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:45] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_VINCI', 0, 'MEMENTO_VINCI_GIOCONDA');'
[2025-09-05 12:58:45] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_VINCI, 0, MEMENTO_VINCI_GIOCONDA, ).
[2025-09-05 12:58:45] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:58:45] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:45] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:45] [frontend]: While executing - 'insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') values ('LEGEND_PATH_CROMWELL', 0, 'MEMENTO_CROMWELL_MACE');'
[2025-09-05 12:58:45] [frontend]: In XMLSerializer while inserting row into table insert into LegendPathsRewards('LegendPathType', 'Level', 'Reward') with values (LEGEND_PATH_CROMWELL, 0, MEMENTO_CROMWELL_MACE, ).
[2025-09-05 12:58:45] [frontend]: In XMLSerializer while updating table LegendPathsRewards from file metaprogression.xml.
[2025-09-05 12:58:45] [frontend] ERROR: FOREIGN KEY constraint failed
[2025-09-05 12:58:45] [frontend]: Validating Foreign Key Constraints...
[2025-09-05 12:58:45] [frontend]: Passed Validation.
[2025-09-05 12:58:45] [HallofFame]: UpdateAggregateDataPoints took 0.090996 seconds.


Unsure if this mod is the problem or not, any insight?