Page MenuHome

Saving to custom temporary file path overwrites .blend files
Closed, ResolvedPublic


System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 417.01

Blender Version
Broken: version: 2.80 (sub 51), branch: blender2.7, commit date: 2019-03-25 00:55, hash: rB07f6be87a97e
Worked: (optional)

Blender 2.8 appears to be overwriting my file without being explicitly commanded to do so.
If I go into Blender 2.8, load a file and work on it for a few minutes (test renders and so) and then exit without saving, then when I restart Blender and reload the file I was working on I often find the file to be changed to reflect the work I had done on it.
This appears to be happening when I render a scene, but I cannot seem to make this happen consistently.
It might also have something to do with the timed backup, such that the program is overwriting the opened file (by accident) instead of producing a temporary backup.
This has been happening with the 2.8 beta releases over the past few weeks.

I'm sorry that I cannot be more explicit with the information.

Feel free to delete this if it is a duplicate bug.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Brecht Van Lommel (brecht) triaged this task as Needs Information from User priority.

This is not enough information for us to investigate, we need exact steps to reproduce the issue.

Auto save does not save to the same location, it's unclear how that could cause this kind of problem.

Do you have any add-ons that might be doing this?

I figured out what the problem is...

Here is the situation. In my preferences file I had set the same directory path for Temporary Files, Render Output and Render Cache.
My original file was also located in that same directory.
This might be unusual, but normally, this should not have been a problem...
Blender is writing a temporary file to exactly the same name as the original file (no extra letters, numbers, underlines, etc.) so that the temporary file was always overwriting my original.
I have now changed the temporary directory path. So problem solved (for me), but I regard this behaviour as not quite good form, programming-wise.

Brecht Van Lommel (brecht) renamed this task from Blender 2.8 updating blend files when not instructed to Saving to custom temporary file path overwrites .blend files.Mar 27 2019, 10:30 PM
Brecht Van Lommel (brecht) raised the priority of this task from Needs Information from User to Confirmed, Medium.
Brecht Van Lommel (brecht) lowered the priority of this task from Confirmed, Medium to Confirmed, Low.