• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Raphel95

Private
Jun 23, 2023
11
0
Game is constantly crashing. It appears to be from a peace treaty for an Independence War for some Aztec nations.

I play on Mac OS.
I do not use any mods.

I've done a full re installation. Deleting the EU4 folder from the both steam folder and from documents.

If you see the save file, Aztec nations are fighting an independence war. I'm not able to enforce peace due to opinion. DoW on any of the nations in the war only delays the peace treaty.
The peace treaty is my assumption since that cmd is in the exception file.

Any help on how to resolve this. Pretty good France run I got going, don't want to restart when I plan to play till AoRev for achievement.
The save file is the only just about the only start date I have. March of the year. The other is from February.
 

Attachments

  • error.log
    7,4 KB · Views: 0
  • error.log
    7,4 KB · Views: 0
  • exception.txt
    3,7 KB · Views: 0
  • France_Backup.eu4
    8,7 MB · Views: 0
Can you please post a bugreport about this with your save and the exception.txt. I tested your save on Linux and it is crashing there as well and the windows version also crashes(I ran it with proton).

Your save has quite an unusual turn of events. The problematic war is the "Matlatzincan War for Independence", but the warleader on the attacking side is "The Hasinai Federation" and Matlatzinca doesn't even exist. I looked at your save and I think more or less the following happened:
  1. Matlatzinca was a vassal of Tlaxcala and had their independence supported by "The Hasinai Federation"
  2. 1639.11.20: Matlatzinca declared the "Matlatzincan War for Independence" against Tlaxcala and "The Hasinai Federation" joined on the attacking side
  3. 1640.2.13: Tarascan declares the "3rd Tzintzuntzani War for Independence" against Tlaxcala(I don't know why they didn't seem to have joined Matlatzinca's independence war)
  4. 1640.3.16 Guamar declared the "Guamares Conquest of Matlatzinca" against Matlatzinca and nobody else joined the war
  5. 1641.1.25 Guamar fully annexed Matlatzinca which removed them from their independence war and made "The Hasinai Federation" the attacking warleader
  6. 1641.2.7 "The Hasinai Federation" called in their ally "The Ohkay Owingeh Federation"
  7. 1641.5.3 Guamar declared the "Guamares Conquest of Tlaxcala" against Tlaxcala and nobody else joined the war
  8. 1641.4.12 Spain declared the "3rd Spanish Conquest of Tullucan" against Tlaxcala
  9. 1642.5.24 Guamar seems to have vassalized Tlaxcala in that war which made them the defending warleader in the "Matlatzincan War for Independence" and the "3rd Tzintzuntzani War for Independence" and the "3rd Spanish Conquest of Tullucan"
  10. 1642.6.14 Guamar calls their ally Chichimeca into their wars
  11. 1643.3.27 Chichimeca gets annexed by Spain in the "3rd Spanish Conquest of Tullucan"
  12. 1643.7.18 Guamar makes peace in the "3rd Tzintzuntzani War for Independence" and Tarascan becomes a vassal of Guamar and joins their wars
  13. 1643.11.22 "3rd Spanish Conquest of Tullucan" ends and Spain takes several provinces from Guamar and I think they force Guamar to cancel their subject Tlaxcala
And something in this breaks the peace deal calculation of the AI in some way.
 
Posted a bugreport. From the description, do you think there is anyway of recovering this save?

I have my doubts since it's an Ironman game and I don't have any previous saves to go back to. But I don't know what can possibly be done.
 
Posted a bugreport.
Thank you!
From the description, do you think there is anyway of recovering this save
I don't have a good solution, but there are a few possibilities:
  1. melt your save and continue it as non-ironman. Then you can use the console command "delete_wars GAM" to end the war
  2. wait for the next game version and hope that the developers fix the bug due to your bugreport and that your save will still work good enough
  3. Try your strategy of downing the countries in the war again and use mercenaries and assaults to quickly gain some warscore to be able to make some kind of peace deal before the crash. Then you can play around with various options to see if one of them changes enough to avoid the crash
  4. Try to load the save which I'll attach to this post and check if achievements are still enabled in it and if they are, make a peace deal with Guamar and save again and attach the save here. Don't do anything else, especially don't unpause. I can then modify that save again so that you can get a save in which you can continue playing. But I don't know if the trick which I'm using still works or if it disables achievements. And there might be some (hopefully minor) side effects
 

Attachments

  • France_Backup_modified.eu4
    7 MB · Views: 0
It appears that achievements were still enabled after the tag-switch. I was able to white peace that war on the start date, no unpause.
The re-attached save file is after the peace deal.

Thanks for the assistance with this. I know it may not be resolved yet, but I appreciate you trying something.
It is a curious situation, hopefully the devs can see this an it helps resolve it/prevent it for others.
 

Attachments

  • France_Backup_modified.eu4
    8,7 MB · Views: 0
Here you go. It is probably best if you load the attached save and immediately save it again and restart eu4 and load your new save. And make sure that achievements are still enabled. And check your country settings(e.g. the sliders in the economy tab), units and envoys to make sure that everything is still in order and the AI didn't change anything.
 

Attachments

  • France_Backup_modified_2.eu4
    7 MB · Views: 0
I was able to load the save as the original country - France. Saved, restarted, played for 3 months to the next auto save interval.
Achievements are still enabled. All the country settings are as I left them. AI doesn't appear to have changed anything.

I'll continue this save from here, will update in the next 1-2 weeks - if I was able to complete the achievements or if I ran in to any issues.

Thank you so very much @grotaclas Hopefully you saved me some hours worth of gameplay, and even if not - I thank you for your efforts.
 
I got a similar issue. I'm also playing as France and a peace deal between two Aztec nations crashes the game.

It seems that the issue is caused by Tzotzil-Itza Mayapan Unification War. The game crashes as soon as I unpause, and I can't even see the nations so I don't think I can do anything within the game to avoid the issue.

I'm also playing for the revolutions achievement and it would suck to have to restart.

@grotaclas Is it possible for you to do for my save file what you did for @Raphel95?
 

Attachments

  • fr_melted.eu4
    52,7 MB · Views: 0
@grotaclas Is it possible for you to do for my save file what you did for Raphel95?
Probably. But I would need the achievement-enabled save instead of the melted save which you attached to your post.

Which OS do you use? If you use macOS or Linux, you can probably avoid the crash by passing the date of the crash on the windows version of the game. You can run it on macOS with whisky app, CrossOver or wine. On Linux it is easiest with proton, but any other wine derivative should work as well.
 
I use MacOS. I already tried Whisky, but the crash still happens.
Does it crash on the same date in the game or does it crash earlier(e.g. when starting eu4)?

I had a look at your save and it doesn't crash for me. Neither on my Linux laptop nor on my windows desktop, so I can't test if doing a peace deal manually will avoid the crash. It is kind of tricky, because Itza is the subject here, but they are the warleader, because they are a mesoamerican tributary. The AI Tzotzil seems to do a peace deal in which they fully annex Itza's overlord Kiche. Itza is in another war which could also cause problems. But it doesn't involve the overlord Kiche. Maybe you have to do a peace deal with Kiche in which you grant independence to Itza. I attached a save in which I changed the played country to Tzotzil. You could play around with console commands in your melted save to see which peace deal Tzotzil can do which will not lead to a crash a few months later. Then you can do that peace deal in the save which I attached, save the game and attach that save here again. As I said to Raphel95, you should not unpause, because the AI might do bad things to your country.
 

Attachments

  • fr_modified.eu4
    4,8 MB · Views: 0
The game breaks on the next day as soon as I unpause. It seems that any peace deal that doesn't involve Kiche getting fully annexed works. Based on the exception it seems that the game crashes while trying to transfer ownership of Itza:

3 eu4 0x000000010093705d CDependency::Transfer(CCountryTag, CCountryTag) + 37
4 eu4 0x00000001002b8970 CCountry::ClearRelations(CCountryTag) + 2520

Here's the save file after the peace deal.
 

Attachments

  • fr_modified.eu4
    5,9 MB · Views: 0
The game breaks on the next day as soon as I unpause. It seems that any peace deal that doesn't involve Kiche getting fully annexed works. Based on the exception it seems that the game crashes while trying to transfer ownership of Itza:

Code:
3 eu4 0x000000010093705d CDependency::Transfer(CCountryTag, CCountryTag) + 37
4 eu4 0x00000001002b8970 CCountry::ClearRelations(CCountryTag) + 2520
Yeah, that seems to be the problem. All the saves with that bug which I looked at had at least one of those functions in the stacktrace(usually both)
Here's the save file after the peace deal.
I set your country back to France in the save and attached it here. My recommendation from the other save still apply:

Here you go. It is probably best if you load the attached save and immediately save it again and restart eu4 and load your new save. And make sure that achievements are still enabled. And check your country settings(e.g. the sliders in the economy tab), units and envoys to make sure that everything is still in order and the AI didn't change anything.
 

Attachments

  • fr_modified_again.eu4
    4,8 MB · Views: 0
I have exactly the same problem.
In version 1.31.1 the game crashes the next day after signing a peace treaty with the coalition.
It does not matter if there are any or none teritorial or other changes, nor does changing country helps.
This is not an ironman game and it was never modded.
Using the console command "delete_wars" gives the same result-game crashes next day.
What is more interesting, this war ends at ANY point with the same result-crash next day.

First save file is before peace treaty-second after it.

Have you found any working solutions to it?
 

Attachments

  • Before Peace.eu4
    72,6 MB · Views: 0
  • After Peace.eu4
    72,5 MB · Views: 0
In version 1.31.1
If you play such an old version, your crash is certainly different than the crash in version 1.37 which this thread is about. Why do you play such an old version which is known to be full of bugs?
 
It is because that save was created on that version and it is not possible to run it on later ones.
There were no issues playing through ~220 game years, so it seemed that it is not worth to start it from a start isn't it?
 
It is because that save was created on that version and it is not possible to run it on later ones.
1.31.1 came out almost 5 years ago. Did you really start that save in the 5 days before 1.31.2 came out? Have you tried switching to 1.31.4 or 1.31.6? I think they are mostly compatible with 1.31.1 and contain several fixes for crashes
There were no issues playing through ~220 game years
I would say that you got lucky. There are several different crashes in early 1.31 patches and IIRC 1.31.1 introduced a bug which corrupted save games so that all provinces are uncolonized. That bug was fixed in 1.31.2, but maybe it only affected ironman saves
 
As much as I can remember on 1.32 those saves were already not working
1.32 had major changes and added a lot of new content. That's why it broke saves. But the 1.31.x patches had mostly bugfixes which didn't have much impact on the saves