• 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.

Emoneh

Second Lieutenant
60 Badges
Jun 12, 2017
146
358
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV
  • Crusader Kings II
  • Victoria 2


Summary​

every_allied_country can cause a CTD if you have no allies

Platform​

Steam

Operating System​

MacOS

Game Version​

1.16.4

Enabled DLC​

  • All of the above

Do you have mods enabled?​

Yes

Description​

Using the every_allied_country scope can cause a crash to desktop if you have no allies, when mousing over a focus that contains it. I have made a very small mod to demonstrate this because I don't think it's actually used in any vanilla content; it is available here: https://steamcommunity.com/sharedfiles/filedetails/?id=3461644207 but you can easily make your own script if you prefer. The mod gives Liberia a focus tree with a single focus that grants every_allied_country 1 pp. Opening the focus tree and mousing over the focus causes a crash to desktop. Oddly, when I used the console to create a faction, then had its only member leave, mousing over the focus did not cause a crash and it just showed as having no effect (i.e. correctly), so this isn't a universal problem. I'm not sure what change caused it to work after that but not before.

I also attach the mod as a zip file, and a copy of one of the crash logs created using it.



Steps to Reproduce​

1. Install the mod
2. Play as Liberia
3. Open the focus tree
4. Mouse over "Help Out Our Friends"

OR

1. Create your own script that uses this scope and try to use it while not in a faction

Are you playing on a save from the previous/older version of the game​

No

Upload Attachment​

View attachment EAC.zipView attachment hoi4_20250410_225522.zip

 
Upvote 0