Debugging CIV VI crashes

Spicer

Chieftain
Joined
Jan 12, 2006
Messages
15
Hi guys,

Any ideas how I could debug what's going wrong with my game?

I have just changed to a new laptop. Installed everything.
Copied over my saves from an ongoing game.

I have even played about 15 turns of that game on the new laptop. So the install is OK. The graphics settings are OK. All the mods are installed...

But all of a sudden, however, some of the last saves of that game would crash to desktop.
The saves would load and some of the messages at the start of the player turn start appearing (New research, End of Era messages, etc). And then, the game would crash to desktop.

- There are no errors reported in any of the log files in the Logs directory (well, there are a few but they are inconsequential and also occur in a normal game that does not crash e.g. warnings about xml files or FiraxisLive)

- There are no errors reported in the packagedDump submission file
- If I go back a few turns, the saves seem to be useable

- New game (with same setup, same mods, etc) seems OK

- I'm only around 0AD in the game, on a small map and laptop has 16GB so, running out of memory is unlikely

Any bright ideas?
 
Hi guys,

Any ideas how I could debug what's going wrong with my game?

I have just changed to a new laptop. Installed everything.
Copied over my saves from an ongoing game.

I have even played about 15 turns of that game on the new laptop. So the install is OK. The graphics settings are OK. All the mods are installed...

But all of a sudden, however, some of the last saves of that game would crash to desktop.
The saves would load and some of the messages at the start of the player turn start appearing (New research, End of Era messages, etc). And then, the game would crash to desktop.

- There are no errors reported in any of the log files in the Logs directory (well, there are a few but they are inconsequential and also occur in a normal game that does not crash e.g. warnings about xml files or FiraxisLive)

- There are no errors reported in the packagedDump submission file
- If I go back a few turns, the saves seem to be useable

- New game (with same setup, same mods, etc) seems OK

- I'm only around 0AD in the game, on a small map and laptop has 16GB so, running out of memory is unlikely

Any bright ideas?
Two thoughts even though its a "new" laptop the driver for the graphics card could be out of date and/or game files could be missing for which you'll need to verify files in Steam.
 
Thanks for biting...

If the problem is driver related it would be the opposite i.e. The day before I was running the stock Windows10 build 17134 and now I *have* updated all the drivers (and verified the files by steam for good measure).
Also, all the graphics settings are very conservative and copied over from the old laptop

But then again, if it was a driver issue I would expect an error message to come up in one of the logs or the dump.
But here, there's nothing...

Can the game be started with some debug or verbose option?
 
I have a similar problem, albeit with an older laptop. I've checked my driver, reinstalled the game but the game crashes when loading a save.. happened for the past couple of my games. Don't understand how to read log files however, but if i start a new game with the same mods enabled it loads fine
 
@rebar64 - What mods are you using? Is there any message with the crash? Do you have problems loading saves that have no mods enabled? As far as logs, check the Database.log file first (...\My Games\Sid Meier's Civilization VI\Logs) and look for anywhere that says ERROR.
 
In my case I found that the culprit was indeed a mod: Perfect World
There's a thread (https://forums.civfanatics.com/threads/perfectworld6.637363/page-6#post-15267321) on the forum where folks have reported various weird things happening with Perfect World, but last time I checked no-one had found the root cause. And it doesn't seem to leave any error message
Yeah, as neat as PW is, the long loading times coupled with the multiple unexplained save game loading issues/crashes has kept me from trying it out. The mod's Steam page also highlights many of these issues. At least for now, I'm sticking with Detailed Worlds.
 
[2877242.662] [Localization]: StartupErrorMessages.xml
[2877242.662] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[2877261.404] [Localization]: Validating Foreign Key Constraints...
[2877261.405] [Localization]: Passed Validation.
[2877261.425] [Configuration]: Validating Foreign Key Constraints...
[2877261.426] [Configuration]: Passed Validation.
[2877278.059] [FullTextSearch]: Initializing FullTextSearch
[2877279.458] [Gameplay]: Validating Foreign Key Constraints...
[2877279.480] [Gameplay]: Passed Validation.
[2877285.607] [Configuration]: Validating Foreign Key Constraints...
[2877285.608] [Configuration]: Passed Validation.
[2877312.206] [FullTextSearch]: FTS - Creating Context
[2877344.120] [Configuration]: Validating Foreign Key Constraints...
[2877344.120] [Configuration]: Passed Validation.
[2877351.319] [Gameplay] ERROR: UNIQUE constraint failed: Requirements.RequirementId
[2877351.319] [Gameplay] ERROR: UNIQUE constraint failed: Requirements.RequirementId
[2877353.422] [Gameplay]: Validating Foreign Key Constraints...
[2877353.457] [Gameplay]: Passed Validation.
[2877383.058] [FullTextSearch]: FTS - Creating Context
[2877385.994] [FullTextSearch]: FTS - Creating Context
[2877391.844] [FullTextSearch]: FTS - Creating Context

The above is my database.log file, can't find any errors.

In my case I found that the culprit was indeed a mod: Perfect World
There's a thread (https://forums.civfanatics.com/threads/perfectworld6.637363/page-6#post-15267321) on the forum where folks have reported various weird things happening with Perfect World, but last time I checked no-one had found the root cause. And it doesn't seem to leave any error message

Yeah, as neat as PW is, the long loading times coupled with the multiple unexplained save game loading issues/crashes has kept me from trying it out. The mod's Steam page also highlights many of these issues. At least for now, I'm sticking with Detailed Worlds.

Hmm I have a feeling this is probably the most likely culprit, which is unfortunate since I quite enjoy the mod. I started up a new game yesterday with a lot of modded civs disabled but with perfectworld on. I'll try set up a new game now without perfectworlds and try it again. Thanks for the help, will report back.
 
The above is my database.log file, can't find any errors.
Code:
[2877351.319] [Gameplay] ERROR: UNIQUE constraint failed: Requirements.RequirementId
[2877351.319] [Gameplay] ERROR: UNIQUE constraint failed: Requirements.RequirementId
:think:
Looks like there is a duplicate line in the Requirements table. Open your modding.log and find the corresponding timestamp from above to help narrow down where it is occurring.
 
Back
Top Bottom