How can I refresh the assets or a specific asset during a build? I have an xml file that is not updating and I need to manually refresh it from the assets folder. I can’t be doing that in my build. How do I solve this problem?
Run this: AssetDatabase.Refresh();
After saving the XML.