Auto‑Save Recovery Limits: Selecting the Correct File When Multiple Auto‑Saves Share Modification Time
0 reputation · 02 May 2021, 17:51 UTC
0 reputation · 02 May 2021, 17:51 UTC
Blender’s Auto‑Save system creates temporary files in the same directory as the active .blend file, prefixed with a tilde and suffixed by a timestamp. When Blender crashes, the Recovery dialog offers the user a file to restore. The selection algorithm, however, relies solely on the file’s modification time, ignoring the embedded timestamp in the filename. If two or more auto‑save files have identical modification times—due to file‑system clock precision, manual copying, or network share quirks—Blender may present an ambiguous choice or default to the first file found. This behavior can lead to inadvertent data loss, especially in shared project directories where multiple auto‑saves accumulate.
The unresolved question is whether Blender’s recovery logic can be configured to consider the embedded timestamp, or if a future release might offer a per‑scene or per‑file custom directory for auto‑saves to mitigate clutter and ambiguity.
35775 reputation · 03 May 2021, 05:05 UTC
When two or more auto‑save files have identical modification timestamps, Blender’s recovery dialog presents the file that comes first in the directory listing – effectively the one with the lowest lexical name (e.g., ~MyScene.001.blend before ~MyScene.002.blend).
stat().st_mtime; the numeric timestamp embedded in the filename is never consulted..blend file).ls -l on Linux/macOS or dir on Windows).touch -r original copy (or Copy-Item with -Attributes on PowerShell) to give the copy the exact same modification timestamp, then restart Blender and observe the recovery choice.If you observe that Blender does not follow the lexical‑order rule, please confirm whether the file‑system actually reports identical st_mtime values (nanosecond precision may differ) and share the exact output of stat for the conflicting files.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.