[Crash ,Help needed]New Civilization, Game Crash when loading with leader's figure having appeared

Entarogan

Chieftain
Joined
Jun 15, 2017
Messages
10
This is a mod that will add Arendelle as a Civilization with Queen Elsa and Princess Anna as leaders.But in the test, it always crash when the figure of the leader has appeared before entering the game. Even just tested with no icons and no artdefs it still crash, without any errors found in the Logs(which has been uploaded).
I am nearly crazy and can not find the solution...Here I upload the project with the simplest elements(xml, leader fallback and no icons), all the textures, all the xml as a independent pack, all the Logs and whatever I can upload.
I beg someone help me PLEASE, since it is my first mod.
And I will add anyone who helped me get through it as co-creater of the mod.
(I am not a native speaker and it is my first time to create thread so if I say something wrong, apologies.)

The first file is the package of modbuddy project with the simplest elements, which include XML(except icons),and leaders UI.

The same thread is also in the Unreleased Mod ,which include all the file I have upload.

https://forums.civfanatics.com/threads/crash-and-help-needed-frozen-arendelle-civilization.617679/
 
Problem describe : The simplest test with XMLs and fallback_leaders (No icons involved) just cannot work. Everything seems to be fine during Leader Elsa's figure is appearing and all the traits are correct but then the game then crashes. When I check Logs the files don't tell me anything wrong, and I don't find anything relevant to "fail" or "error"....Especially database.log suggests nothing wrong which puzzle me a lot....Other files suggest that te game crash when "Loading UI", which is the last action the game makes...I hope someone can help find this mysterious bug and I will appreciate it a lot.
 
This is database.log...
Code:
[2869180.149] [Localization]: Validating Foreign Key Constraints...

[2869180.152] [Localization]: Passed Validation.

[2869180.355] [Configuration]: Validating Foreign Key Constraints...

[2869180.356] [Configuration]: Passed Validation.

[2869189.085] [FullTextSearch]: Initializing FullTextSearch

[2869192.622] [Gameplay]: Validating Foreign Key Constraints...

[2869192.637] [Gameplay]: Passed Validation.

[2869195.620] [Configuration]: Validating Foreign Key Constraints...

[2869195.621] [Configuration]: Passed Validation.

[2869218.492] [FullTextSearch]: FTS - Creating Context

[2869351.557] [Gameplay]: Validating Foreign Key Constraints...

[2869351.624] [Gameplay]: Passed Validation.

This is modding.log

Code:
[2869189.155] Status: Initializing Modding Framework.

[2869189.155] Status: C:/Users/asus-pc/Documents/My Games/Sid Meier's Civilization VI/Mods.sqlite

[2869189.157] Status: Connected to modding database!

[2869189.157] Status: Ensuring Foreign Key support is enabled and set to initially deferred.
[2869189.157] Status: Checking

database version...

[2869189.158] Status: Modding database is up-to-date!

[2869189.158] Status: Loading Stored Procedures...

[2869189.163] Status: Checking required procedures exist...

[2869189.163] Status: Initializing Services...

[2869189.163] Status: Component Discovery Service initialized.

[2869189.163] Status: File Service initialized.

[2869189.164] Status: Localization Service initialized.

[2869189.164] Status: Mod Association Service initialized

[2869189.164] Status: Mod Discovery Service initialized.

[2869189.165] Status: Mod Loader Service initialized.

[2869189.165] Status: Mod Selection Service missing. Skipping.

[2869189.165] Status: Ownership Service initialized.

[2869189.165] Status: Properties Service initialized.

[2869189.167] Status: Subscription Service - Detected 5 subscriptions

[2869189.168] Status: Subscription Service - Subscription 927816593 - Installed? 1, Downloading? 0, DownloadPending? 0
[2869189.169] Status: Subscription Service - Subscription 901489830 - Installed? 1, Downloading? 0, DownloadPending? 0
[2869189.169] Status: Subscription Service - Subscription 906971911 - Installed? 1, Downloading? 0, DownloadPending? 0
[2869189.170] Status: Subscription Service - Subscription 927940817 - Installed? 1, Downloading? 0, DownloadPending? 0
[2869189.171] Status: Subscription Service - Subscription 927010338 - Installed? 1, Downloading? 0, DownloadPending? 0

[2869189.171] Status: Subscription Service initialized.

[2869189.171] Status: User Data Service missing. Skipping.

[2869189.171] Status: Services initialized!

[2869189.171] Status: Modding Framework is initialized.
[2869189.171] Status: Initializing Modding Framework took - 18ms.

[2869189.175] Status: Verifying enabled mods can coexist.

[2869189.176] Status: Discovering new mods...

[2869190.701] Status: Mod timestamps do not match.  Will reload the mod.

[2869190.714] Status: Loading Mod - C:/Users/asus-pc/Documents/My Games/Sid Meier's Civilization

VI/Mods/Arendelle_Frozen/Arendelle_Frozen.modinfo

[2869190.721] Status: Loaded a mod!

[2869191.369] Status: Finished Discovery.

[2869191.369] Status: Discovery Summary:

[2869191.369] Status: Deleted 1 mods.

[2869191.369] Status: Discovered 1 mods.

[2869191.369] Status: New/Reloaded Mods:

[2869191.371] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869191.537] Status: Discovering Mods took - 2360ms.

[2869191.543] Status: Bootstrapping game content

[2869191.544] Status: Loading Vanilla DLL.

[2869191.621] Status: Building gameplay database.

[2869192.637] Status: Initializing Vanilla DLL.

[2869192.752] Status: Instantiate GameCore UI Manager.

[2869192.753] Status: Saving a debug version of the gameplay database.

[2869194.862] Status: Successfully bootstrapped game content.

[2869194.868] Status: Mods - Loading Anna_Config.xml

[2869194.869] Status: Mods - Loading Anna_Leader.xml

[2869194.870] Status: Mods - Loading Anna_Localization.xml

[2869194.870] Status: Mods - Loading Anna_Localization_CH.xml

[2869194.871] Status: Mods - Loading Anna_Units.xml

[2869194.871] Status: Mods - Loading Arendelle_Civilization.xml

[2869194.872] Status: Mods - Loading Arendelle_Disctrict.xml

[2869194.872] Status: Mods - Loading Arendelle_Frozen.dep

[2869194.873] Status: Mods - Loading Arendelle_Units.xml

[2869194.873] Status: Mods - Loading Artdefs/FallbackLeaders.artdef

[2869194.874] Status: Mods - Loading Elsa_Config.xml

[2869194.874] Status: Mods - Loading Elsa_Improvement.xml

[2869194.875] Status: Mods - Loading Elsa_Leader.xml

[2869194.875] Status: Mods - Loading Elsa_Localization.xml

[2869194.875] Status: Mods - Loading Elsa_Localization_CH.xml

[2869194.876] Status: Mods - Loading Platforms/MacOS/BLPs/LeaderFallbacks.blp

[2869194.876] Status: Mods - Loading Platforms/MacOS/BLPs/UILeaders.blp

[2869194.877] Status: Mods - Loading Platforms/Windows/BLPs/LeaderFallbacks.blp

[2869194.877] Status: Mods - Loading Platforms/Windows/BLPs/UILeaders.blp

[2869194.878] Status: Mods - Loading Textures/FALLBACK_NEUTRAL_ANNA.dds

[2869194.878] Status: Mods - Loading Textures/FALLBACK_NEUTRAL_ANNA.tex

[2869194.879] Status: Mods - Loading Textures/FALLBACK_NEUTRAL_ELSA.dds

[2869194.879] Status: Mods - Loading Textures/FALLBACK_NEUTRAL_ELSA.tex

[2869194.880] Status: Mods - Loading Textures/LEADER_ANNA_NEUTRAL.dds

[2869194.880] Status: Mods - Loading Textures/LEADER_ANNA_NEUTRAL.tex

[2869194.881] Status: Mods - Loading Textures/LEADER_ELSA_NEUTRAL.dds

[2869194.881] Status: Mods - Loading Textures/LEADER_ELSA_NEUTRAL.tex

[2869194.882] Status: Mods - Loading XLPs/LeaderFallbacks.xlp

[2869194.883] Status: Mods - Loading XLPs/UILeaders.xlp

[2869195.273] Status: SteamCallback - SteamUGCQueryCompleted_t - 1

[2869195.273] Status: Configuring game content

[2869195.273] Status: Current Configuration:

[2869195.273] Status: No active mods.

[2869195.273] Status: Target Configuration:

[2869195.273] Status: Mods:

[2869195.274] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869195.274] Status: Game configuration needs to change to match target config.

[2869195.274] Status: Performing pre-configure processing.

[2869195.274] Status: Rebuilding configuration database.

[2869195.274] Status: Localization database unchanged, no rollback needed.

[2869195.274] Status: Configuration database unchanged, no rollback needed.

[2869195.274] Status: Applying settings.

[2869195.274] Status: Modding Framework - Apply Settings

[2869195.275] Status: Creating database save point.

[2869195.275] Status: ModdingUpdateConfigurationDatabase - Loading Anna_Config.xml

[2869195.312] Status: ModdingUpdateConfigurationDatabase - Loading Elsa_Config.xml

[2869195.337] Status: Successfully released save point.

[2869195.337] Status: Creating database save point.

[2869195.338] Status: LocalizedText - Loading Anna_Localization.xml

[2869195.407] Status: LocalizedText - Loading Anna_Localization_CH.xml

[2869195.484] Status: LocalizedText - Loading Elsa_Localization.xml

[2869195.520] Status: LocalizedText - Loading Elsa_Localization_CH.xml

[2869195.616] Status: Successfully released save point.

[2869195.619] Status: UISettingHandler - Loading Arendelle_Frozen.dep

[2869195.620] Status: Modding Framework - Finished Apply Settings

[2869196.385] Status: Successfully reconfigured game.

[2869219.253] Status: Configuring game content

[2869219.253] Status: Current Configuration:

[2869219.253] Status: Mods:

[2869219.254] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869219.254] Status: Target Configuration:
[2869219.254] Status: Mods:

[2869219.255] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869219.256] Status: Game configuration matches target configuration.

[2869219.256] Status: Successfully reconfigured game.

[2869223.024] Status: Configuring game content

[2869223.025] Status: Current Configuration:

[2869223.025] Status: Mods:

[2869223.025] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4
[2869223.025] Status: Target Configuration:

[2869223.025] Status: Mods:

[2869223.025] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869223.026] Status: Game configuration matches target configuration.

[2869223.026] Status: Successfully reconfigured game.

[2869244.901] Status: Configuring game content

[2869244.901] Status: Current Configuration:

[2869244.901] Status: Mods:

[2869244.902] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869244.902] Status: Target Configuration:

[2869244.902] Status: Mods:

[2869244.902] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869244.903] Status: Game configuration matches target configuration.

[2869244.903] Status: Successfully reconfigured game.

[2869343.653] Status: Configuring game content

[2869343.653] Status: Current Configuration:

[2869343.653] Status: Mods:

[2869343.654] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869343.654] Status: Target Configuration:

[2869343.654] Status: Mods:

[2869343.654] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869343.655] Status: Game configuration matches target configuration.

[2869343.738] Status: Successfully reconfigured game.

[2869343.738] Status: Updating game content

[2869343.738] Status: Configuring game content

[2869343.738] Status: Current Configuration:

[2869343.738] Status: Mods:

[2869343.738] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869343.738] Status: Target Configuration:

[2869343.738] Status: Mods:

[2869343.738] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4
[2869343.739] Status: Game configuration matches target configuration.

[2869343.739] Status: Successfully reconfigured game.

[2869343.739] Status: Current Configuration:

[2869343.739] Status: No active mods.

[2869343.742] Status: Target Configuration:

[2869343.742] Status: Mods:

[2869343.743] Status: fc78d98e-137d-44da-a7aa-4d2aeb6fb2d4

[2869343.743] Status:  * Gameplay

[2869343.743] Status:  * Text

[2869343.743] Status:  * Icons

[2869343.743] Status:  * Art

[2869343.745] Status: Game content needs to change to match target config.

[2869343.745] Status: Performing pre configure processing.

[2869343.748] Status: Unloading Gameplay DLL.

[2869346.415] Status: Reloading Gameplay DLL.

[2869346.877] Status: Reverted Localization database to its original state.

[2869346.877] Status: Rebuilding gameplay database.

[2869346.877] Status: Gameplay database unchanged, no rollback needed.

[2869346.878] Status: Applying mod components.

[2869346.878] Status: Modding Framework - Applying Components

[2869349.114] Status: Applying Component - Gameplay

[2869349.115] Status: Creating database save point.

[2869349.116] Status: UpdateDatabase - Loading Anna_Leader.xml

[2869349.498] Status: UpdateDatabase - Loading Anna_Units.xml

[2869349.671] Status: UpdateDatabase - Loading Arendelle_Civilization.xml

[2869349.736] Status: UpdateDatabase - Loading Arendelle_Disctrict.xml

[2869349.832] Status: UpdateDatabase - Loading Arendelle_Units.xml

[2869350.239] Status: UpdateDatabase - Loading Elsa_Improvement.xml

[2869350.887] Status: UpdateDatabase - Loading Elsa_Leader.xml

[2869351.006] Status: Successfully released save point.

[2869351.006] Status: Applied component to game.

[2869351.007] Status: Applying Component - Text
[2869351.007] Status: Creating database save point.

[2869351.007] Status: LocalizedText - Loading Anna_Localization.xml

[2869351.032] Status: LocalizedText - Loading Anna_Localization_CH.xml

[2869351.041] Status: LocalizedText - Loading Elsa_Localization.xml

[2869351.165] Status: LocalizedText - Loading Elsa_Localization_CH.xml
[2869351.198] Status: Successfully released save point.

[2869351.198] Status: Applied component to game.

[2869351.198] Status: Applying Component - Icons

[2869351.199] Status: Applied component to game.
[2869351.199] Status: Applying Component - Art

[2869351.201] Status: ModArtLoader - Loading Arendelle_Frozen.dep

[2869351.201] Status: Applied component to game.

[2869351.557] Status: Modding Framework - Finished Apply Components

[2869351.557] Status: Applied all components of enabled mods.

[2869355.025] Status: Localization database has been updated.  Caching data.

[2869355.502] Status: Initializing Gameplay DLL.

[2869355.615] Status: Reloading Tuner states.

[2869355.616] Status: Saving a debug version of the gameplay database.

[2869359.453] Status: Performing post configure processing.

[2869360.003] Status: Successfully reconfigured game.

modding.log ends without any error suggested...
 
Top Bottom