Question by
ericshare55 · Feb 17, 2021 at 04:22 PM ·
save datasaveloadsavegame
File.Delete not working but Scene reloads.,Save file wont delete but scene reloads
public void ResetGameClick() { File.Delete (Application.dataPath + "/ISW.Save"); UnityEditor.AssetDatabase.Refresh(); SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); }
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613025305im_/https://answers.unity.com/themes/thub/images/avi.jpg)