Table of Contents

Field saveFile

Namespace
GrindFest
Assembly
GrindFest.dll

Where the save file lives. Assigned at RUNTIME (see Awake) — it used to be filled only by GrindFest.SaveManager.OnValidate(), which runs in the editor alone, so every build carried the build machine's absolute path. On WebGL that is outside Application.persistentDataPath, i.e. outside the only tree Unity syncs to IndexedDB: the save silently did not survive a reload, and the log still said "Game saved to …". Kept public so the inspector can show it.

public string saveFile

Returns

string
Where the save file lives. Assigned at RUNTIME (see Awake) — it used to be filled only by , which runs in the editor alone, so every build carried the build machine's absolute path. On WebGL that is outside Application.persistentDataPath, i.e. outside the only tree Unity syncs to IndexedDB: the save silently did not survive a reload, and the log still said "Game saved to …". Kept public so the inspector can show it.