My computer turned off while I was in the engine, and when I open the engine again a lot of dependencies are broken

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

I was making a game for a jam, when my computer turned off, I left it to charge and left without a worry, when I returned I see that I cannot open the main scene, because it says there a broken dependency, I tried to solve it but nothing looked weird in the dependencies, and then I noticed that not only that had happened but that also an autoload script I had made was completely blank, I remade it and reconnected it but still it didn’t recognize it. Can anyone help me out in this?
If my english seems sluggish, take in mind I’m not a native speaker.

:bust_in_silhouette: Reply From: deaton64

Might not solve it, but you if you open the .tscn files in a text editor, you can see what it is trying to load. You may then be able to work out what’s missing.
You could always upload your project or maybe the scene text and a directory listing.

I have just checked what you told me, and I didn´t find anything weird in the path, but then I checked the player.tcsn and for some reason is completely blank that explains the problem, but I still don’t know why the player scene file and a autoload script got blank all of the sudden.

lamba | 2021-07-17 18:45

Maybe the file got corrupted when your computer went off.
Version control can help a bit with that.

deaton64 | 2021-07-18 20:06

Thanks for version control recommendation, I’m having the same issue and I will try it.

Ingeniou5 | 2022-11-29 20:33