This seems to be tied to the frequent issues of having Jadwiga and John's text switch to Portuguese. It also only seems to happen to mods that reference the DLC. Possibly mods that reference DLC text (YNAMP references city names, my mod references dialogue, etc).
The modding log reveals that the DLC leaders GameplayText fails to load. Here is the database error:
I'm not sure how to fix this. Removing mods that reference DLC text is not a valid solution as it defeats the purpose of mods. Also, with this issue, one would be unable to load a save game that has DLC leaders in it.
The modding log reveals that the DLC leaders GameplayText fails to load. Here is the database error:
Code:
[4218089.940] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4218089.940] [Localization]: While executing - 'insert into BaseGameText('Tag', 'Text') values (?, ?);'
[4218089.940] [Localization]: In XMLSerializer while inserting row into table insert into BaseGameText('Tag', 'Text') with values (LOC_CITY_NAME_CANBERRA, Canberra, ).
[4218089.940] [Localization]: In XMLSerializer while updating table BaseGameText from file Australia_Text.xml.
[4218089.940] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4218090.026] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4218090.026] [Localization]: While executing - 'insert into BaseGameText('Tag', 'Text') values (?, ?);'
[4218090.026] [Localization]: In XMLSerializer while inserting row into table insert into BaseGameText('Tag', 'Text') with values (LOC_CITY_NAME_KRAKOW, Kraków, ).
[4218090.026] [Localization]: In XMLSerializer while updating table BaseGameText from file Poland_Jadwiga_GameplayText.xml.
[4218090.026] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4218090.230] [Gameplay]: Validating Foreign Key Constraints...
[4218090.248] [Gameplay]: Passed Validation.
[4218096.970] [FullTextSearch]: FTS - Creating Context
[4218097.715] [FullTextSearch]: FTS - Creating Context
[4218099.049] [FullTextSearch]: FTS - Creating Context
[4219147.225] [Configuration]: Validating Foreign Key Constraints...
[4219147.226] [Configuration]: Passed Validation.
[4219150.235] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4219150.235] [Localization]: While executing - 'insert into BaseGameText('Tag', 'Text') values (?, ?);'
[4219150.235] [Localization]: In XMLSerializer while inserting row into table insert into BaseGameText('Tag', 'Text') with values (LOC_CITY_NAME_KRAKOW, Kraków, ).
[4219150.235] [Localization]: In XMLSerializer while updating table BaseGameText from file Poland_Jadwiga_GameplayText.xml.
[4219150.235] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4219150.419] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[4219150.419] [Localization]: While executing - 'insert into BaseGameText('Tag', 'Text') values (?, ?);'
[4219150.419] [Localization]: In XMLSerializer while inserting row into table insert into BaseGameText('Tag', 'Text') with values (LOC_CITY_NAME_CANBERRA, Canberra, ).
[4219150.419] [Localization]: In XMLSerializer while updating table BaseGameText from file Australia_Text.xml.
[4219150.419] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
I'm not sure how to fix this. Removing mods that reference DLC text is not a valid solution as it defeats the purpose of mods. Also, with this issue, one would be unable to load a save game that has DLC leaders in it.