internal static AkAddressablesSettings LoadSettings()
        {
            var settings = new AkAddressablesSettings();

            try
            {
                var path = Path;
                if (System.IO.File.Exists(path))
                {
                    var xmlSerializer = new System.Xml.Serialization.XmlSerializer(typeof(AkAddressablesSettings));
                    using (var xmlFileStream = new System.IO.FileStream(path, System.IO.FileMode.Open, System.IO.FileAccess.Read))
                        settings = xmlSerializer.Deserialize(xmlFileStream) as AkAddressablesSettings;
                }
                else
                {
                    var projectDir         = System.IO.Path.GetDirectoryName(UnityEngine.Application.dataPath);
                    var foundWwiseProjects = System.IO.Directory.GetFiles(projectDir, "*.wproj", System.IO.SearchOption.AllDirectories);

                    settings.MetadataPath = "WwiseAddressablesMetadata";
                    settings.UseSampleMetadataPreserver = false;
                }
            }
            catch (System.Exception exception)
            {
                Debug.LogWarning("Could not load Wwise Addressables settings");
                Debug.LogWarning(exception);
            }

            if (string.IsNullOrEmpty(settings.MetadataPath))
            {
                settings.MetadataPath = "WwiseAddressablesMetadata";
            }
            return(settings);
        }
 public static void Reload()
 {
     s_Instance = AkAddressablesSettings.LoadSettings();
 }