
The issue is in my Deadly Combat mod. First a little bit of history. In version 3.84, some people were reporting randomly occuring CTDs (sometimes after 30 minutes of playing, sometimes an hour or longer) which didn't occur with my mod deactivated. They were completely unreproduceable (loading a saved game afterwards and doing the exact same things in same place didn't result in a CTD) and not related to the game running out of memory either.
Papyrus logs were showing a decent amount of errors, and even though those errors SEEMED harmless I tried to minimise them as much as possible. Back then I also made this thread about these errors: http://www.gamesas.com/topic/1400800-strange-none-values-for-variables/
In the meantime, I've uploaded new version 3.85 and 3.86 of my mod and the ONLY changes in these versions were adjustments to scripts on magic effects which I apply to most NPCs around skyrim, and additional conditions for adding those magic effects (for example conditions to prevent adding of spells to disabled actors) and this reduced the amount of errors showing up and users did indeed report CTDs were gone. So apparantly these errors which should have been perfectly harmless can show up many times (mostly unavoidable for modders too), and usually are harmless but apparantly they can randomly CTD when the game feels like it.
But then new issues started popping up. Remember what I said, I've ONLY made small adjustments to remove a spell with scripted magic effects from actors and prevent adding of spells/magic effects to reduce the amount of errors showing up in papyrus logs and increase stability, and suddenly, new issues started popping up which I've never heard of before, and they are the following:
- Any scripts in the game seem to be prone to getting locked up suddenly, especially occuring in the game's intro in Helgen (I've already had so many issues in Helgen by the way, I really do wonder why that place is so incredibly instable) but possibly also elsewhere. In Helgen this means for example that the player/NPC prisoners won't get out of their cart, or after the player's ''execution'' all NPCs stand around doing nothing, or when you have to choose whether to follow Ralof or Hadvar (the stormcloak and imperial NPCs respectively) into the building they just stand there looking at each other, and the game won't proceed any further. None of these things happen all the time, and sometimes it is also possible to play through the entire intro without issues, but these are some of the most common examples I've heard in reports and seen myself when trying to reproduce.
- Dialogue suddenly breaks. I have not managed to reproduce this issue yet, but from what I've read in user reports it especially happens with followers (you won't be able to talk to them anymore) but it has also happened with for example shopkeepers (picking the dialogue option to buy/sell results in nothing happening). When such an issue pops up, the only fix is to reload a game.
This issue is somewhat similar to the issue in the latest patch with newly mod-added dialogue where new dialogue doesn't work until the player has at least once saved and reloaded the game with the mod active, in that it can be fixed by saving and reloading, but it's also very much different in that it occurs to vanilla dialogue and that it randomly happens in the middle of a game.
Also, I do not know this for sure but it is POSSIBLE that the first issue is related to the second issue. I think some of those points I've mentioned where the entire game's scripting system seems to lock up, are papyrus fragments which are supposed to run after certain lines of dialogue, so it may be possible that the second issue stops such quest dialogue from working too and therefore stops the scripts from running as well, but again, I'm not 100% sure on this.
I have already checked many times and there are no dirty edits in my plugin, so that's not where the problem is.