It's really hard to know what is kept in a savegame. For example, I have a mod which include 20 scripts and more than ten thousands of code lines. When I deactivate it, save my game, reactivate it ; there are a lot of bugs (which never appear when the script is running normally on the same savegame).
Is there a tutorial somewhere concerning this problem ?
I already used RegisterForSingleUpdate, so I thought I didn't need to condition it with a "if the mod is uninstalled, then don't update", but I'm not sure now.
Any idea of what need to be done in an uninstall process ?
Thanks.