Godot randomly rewrote one of my files??

Godot Version

4.3

Question

Godot just rewrote a file I’ve spent 20+ hours on. Was working in a scene and it randomly overwrote it with another scene’s data. It was only a visual issue but when I quit and opened it, it overwrote literally everything. I’ve got a few .tmp files left in the folder within my documents, is there any way to get that file back??

Sorry to hear this happened! I don’t know how you can recover your lost files in this case.
I just wanted to recommend something that can help you recover files in future.

Version control!

Git is probably the defacto standard. I’d highly recommend taking a little bit of time to learn it, as it can save you LOT’s of time in the future (in situations exactly like this for example).

https://git-scm.com/