There's a crash going around that's related to the government screen and unknown characters that I've devised a workaround for. I'm cross-posting this from bug reports for the benefit of other modders.
The crash is caused by the GUI element called "portrait_dynastic_button" in the file interface/domestic_government.gui, where it causes a crash when mouseovered if the character portrait is currently an 'unknown character' (no character). You can fix it by moving these elements off screen where player can't mouseover them.
Note that this GUI element exists in other files (province.gui, character_selection.gui) but does not appear to cause CTDs with unknown characters there.
Find the two entries that look something like this:
And replace them with this:
It removes a little bit of functionality in that you you need to do an extra click to jump to the character screens of courtiers and censors, but it corrects the crash.
The crash is caused by the GUI element called "portrait_dynastic_button" in the file interface/domestic_government.gui, where it causes a crash when mouseovered if the character portrait is currently an 'unknown character' (no character). You can fix it by moving these elements off screen where player can't mouseover them.
Note that this GUI element exists in other files (province.gui, character_selection.gui) but does not appear to cause CTDs with unknown characters there.
Find the two entries that look something like this:
guiButtonType = {
name ="portrait_dynastic_button"
quadTextureSprite= "GFX_char_dynastic"
position = { x= 50 y = 66 }
Orientation = "UPPER_LEFT"
tooltip = ""
tooltipText =""
delayedTooltipText = ""
}
And replace them with this:
guiButtonType = {
name ="portrait_dynastic_button"
quadTextureSprite= "GFX_char_dynastic"
position = { x= -5000 y = 66 }
Orientation = "UPPER_LEFT"
tooltip = ""
tooltipText =""
delayedTooltipText = ""
}
It removes a little bit of functionality in that you you need to do an extra click to jump to the character screens of courtiers and censors, but it corrects the crash.