Since latest update, the enabled changes are not written into the CustomPluginVariables.JSON. Change in options / plugins enabled state of a plugin -> go back (or race, doesnt matter) -> leave rf2 -> start again -> like before. Also timestamp of CustomPluginVariables.JSON does not change, so change is not written back.
ok i think I was able to identify the reason: It´s the DAM plugin running in Data rate = 5. Is it possible that when a plugin does not exit in time, and the process is killed somehow, the json saving is skipped?
This conversation has already started to move to the DAMPlugin thread, and will probably move to a private conversation if some more diagnostics are required. In terms of the last question here, a plugin is 'asked' to shutdown during the game exit process, and can stall that process indefinitely (the game just waits for the plugin to finish). So a hung or busy plugin will make the game sit there and be unresponsive. If the user explicitly ends the process, or clicks on the window and Windows itself reports that the app is unresponsive and the user clicks to close the program, the game will generally not save the various config files. As far as my plugin goes, during game exit it searches for old unconverted log files and converts them, but it only builds those that match the current channel config. So it's possible with data rate on 5 it's finding a number of logs, while there are no matching with the rate on 3. Also logs with the full data rate (5) tend to be larger and take longer, plus one or more of them might be broken and causing the plugin to actually hang (or cause a bug that means the plugin can take a number of minutes to finish what it's doing).