It appears to synch to a server side version from the TWW beta.
I have tried using a console command to turn off synching, I have tried pasting all the macros in again from scratch from within the game file to send them back to the server again.
I haven’t identified exactly what the trigger is, but the likelihood seems to increase if I relead UI while in a party.
This is super frustrating, especially as I am a raid leader and it happens most often while in raid.
The current work around is to log out and copy the conents of the macros-cache.old file into the macros-cache.txt file, assuming it hasn’t been overwritten too. I also have an external copy that I manually back up frequently.
It’s not uncommon for it also to overwrite a number of system config settings at the same time, resetting them to default. This includes resetting a number of UI options, the status of tutorials, etc…
There’s a command to reset all settings saved for your character. However, I’ve not heard of this particular bug other than when a Windows app was backing up and/or syncing a folder. Or perhaps the directory for WoW is marked a Read Only.
There is supposed to be a cvar for telling it not to synch assorted sets of config information, but it keeps deleting those lines form the config file.
The issue was it overwriting saved configuration settings from the server-side version, the settings included UI settings, but you could argue that everything at our end is UI.
Hopefully the fix above resolves the issue.
EDIT: Changed character and found the Macro file had been erased again.
delete those config.wtf and probably macros-cache.txt and .old files again
open the client
/console synchronizeSettings 1
/console synchronizeMacros 1
/reload
close the client entirely
open the client
If that doesn’t work, then the only thing left to try is the more heavy handed approach where you do a full UI reset and run /console cvar_default to wipe absolutely every serverside cvar back to defaults(server-side macros will be fine).
Also, keep in mind that with the macros, the general macros tab can be used by all characters on an account, while the character specific macros are only for that specific character.
The problems started after I had a drive failure in my gaming box (both internal SSDs got hit with the Samsung firmware bug and it locked both drives) and I did a clean build from scratch.
I saw someone else mention it might be related to it trying to update to battle.net while the files were being backed up - after the rebuild I had it set to synch to a google drive to back up the WTF and Interface folders. I have reset the cloud backup to copy from a lower level for WTF - so it’s grabbing the character only files for live backups and I will manually back up the higher level for a bit to see how stable it is.