I'm working on a mod and in almost every campaign that I testing I get a seemingly random CTD within 12-20 turns. Often I can just bypass this CTD by restarting the game and loading an autosave. However this continuous instability is really annoying and I can't seem to pinpoint the issue here. I've read multiple topics regarding this issue but I've found no clear answer.
These are the last lines of the log:
Code:
03:42:51.736 [game.script.trigger] [trace] Trigger <0046_P_Normalise> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0049_P_Normalise_Non_catholic> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0083b_Update_Allies> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0084b_Update_Enemies> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0085_Update_Religion> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0093_Update_Normal_Difficulty> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0096_Increase_Global_Standing_New_Turn> fired
03:42:51.736 [game.script.trigger] [trace] Trigger <0108_Update_Untrustworthy_Factions_Minor> fired
03:42:51.822 [data.transgression] [info] Applied transgression TC_BATTLE_ENGAGEMENT from transgressor faction 17757326 against faction 1777FA6E
03:42:51.822 [system.io] [info] exists: missing mods/Sengoku/data/globallighting/midday_fog.lighting
03:42:51.823 [system.io] [trace] file open,,data/globallighting/midday_fog.lighting,186
03:42:51.823 [system.io] [info] open: found data/globallighting/midday_fog.lighting (from: D:\Medieval II Total War)
03:42:51.823 [system.io] [info] exists: missing mods/Sengoku/data/globallighting/env_maps/environment_morning_storm.texture
03:42:51.823 [system.io] [info] exists: missing mods/Sengoku/data/globallighting/env_maps/environment_morning_storm.texture
03:42:51.823 [game.script.trigger] [trace] Trigger <0072_T_Undeclared_Attack> fired
03:42:51.824 [data.transgression] [info] Applied transgression TC_UNDECLARED_ATTACK from transgressor faction 17757326 against faction 1777FA6E
03:42:51.898 [bink] [debug] [data/fmv/faction/england_win.bik]Pause on
03:42:51.898 [bink] [debug] [data/fmv/faction/england_win.bik]Pause on
03:42:54.972 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.
Does anyone perhaps know the issue here? I know it's not descr_missions.txt or anything related to traits or ancillaries, because I've deleted them all and I still get these CTD's. What other files should I be looking into?
Do other mods have the same problem? How have they solved this problem?
I did notice that when I play as england the log says
Code:
[bink] [debug] [data/fmv/faction/england_win.bik]Pause on
and when I play as poland the log says
Code:
[bink] [debug] [data/fmv/faction/minor_lose.bik]Pause on
I don't know why it shifts from england_win.bik to minor_lose.bik. I don't know if it's even related to the CTD's I'm having.
Help of any kind would be appreciated.