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

Chatoustikmou

Major
146 Badges
May 21, 2016
749
1.351
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - After Dark
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Magicka 2
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Warlock 2: The Exiled
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • The Kings Crusade
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Impire
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Cities in Motion 2
  • Arsenal of Democracy
Short summary of your issue
Removing vanilla realm laws causes GUI bug

Game Version
1.5.0.1

What OS are you playing on?
Windows

What platform are you using?
Steam

What DLC do you have installed?
Royal Court,

Do you have mods enabled?
Yes

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
5

Please explain the issue you experienced in the most condensed way possible
Disabling the vanilla realm laws causes a visual bug when playing as a vassal, because the liege doesn't have a realm law, and the GUI tries to display the liege's realm law without checking that there is one to display in the first place.

Please explain how to reproduce the issue
details in post below

Is there anything else you think could help us identify/replicate the issue?


I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • realm_laws.jpg
    realm_laws.jpg
    66,9 KB · Views: 0

Chatoustikmou

Major
146 Badges
May 21, 2016
749
1.351
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - After Dark
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Magicka 2
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Warlock 2: The Exiled
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • The Kings Crusade
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Impire
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Cities in Motion 2
  • Arsenal of Democracy
Player realm laws in window_my_realm.gui are shown in this hbox:

1644651587078.png

GUI only displays realm laws if there is a lawgroup available with the relevant flag.

But for the liege, there is no such check in the button_icon_highlight, line 233, so the game looks for an icon that's not defined :

1644651515579.png
 

Chatoustikmou

Major
146 Badges
May 21, 2016
749
1.351
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - After Dark
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Magicka 2
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Warlock 2: The Exiled
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • The Kings Crusade
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Impire
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Cities in Motion 2
  • Arsenal of Democracy
There is a workaround, which is to create a dummy law that does nothing but have the realm_law flag, but those laws take some days to get picked up by the AI, so the visual bug remains on game start before a couple of weeks time have passed.

The only way to totally get rid of the visual bug is to modify window_my_realm.gui, but this is very bad for compatibility for something that feels like it is meant to be supported (given that the player's laws do not have the visual bug, and that not having a law with the realm_law flag has been accounted for).