How to properly save projects?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gebbu5

I have been following a few tutorials and on 2 occasions now I’ve gotten a “load failed due to missing dependencies”. I don’t understand the origin of this error message and both times it has happened I changed nothing about the file/scene I was working on, simply saved it and exited the engine.

I want to understand why this happens and how to fix it, the “fix broken” button is also not useable when I click “fix dependencies”. Is there some special way you need to save your progress because I don’t want to constantly lose entire scenes for no apparent reason.

It has nothing to do with any written code either, it worked before, exited the engine and on restart it just doesn’t. I think it might only happen after I’m prompted to save the scene before running it on a restart, even if I changed nothing. After reopening the programs once more it then breaks.

:bust_in_silhouette: Reply From: vib

From what I’ve gathered, this usually happens because of a corrupted file. Probably not your fault, you probably encountered a bug in Godot.

Best advice I can give is use a source control like Git. This will make it easier to find where the problem is and how to revert back to a working version. It will also make it possible for you to track down what exactly did you do to make the bug happen and how to reproduce it.

If you do figure out how to reproduce the bug, then please post it as an issue on GitHub so Godot developers can fix it. (It’s important to be able to reproduce it consistently tho)