Godot crash (Parse Error:Failed loading resource: )

Godot Version

3.6 stable

Question

Godot crashed and now I cant open many of my scenes.

In file manager they show up as 0 kb in size. Wtf?

Error message:

scene/resources/resource_format_text.cpp:805 - res://Level1.tscn:1 - Parse Error:
Failed loading resource: res://Level1.tscn. Make sure resources have been imported by opening the project in the editor at least once.

What happened? Is my project gone?

It sounds very much like a corrupted hard drive / SSD issue, or something simply overwriting the files to be empty.

Do you use a Version Control System such as Git? If so, simply roll back your latest changes.

If not, this sounds like a painful life lesson that you should start using something like git to avoid losing your projects like this in the future.

2 Likes

:tired_face:

No, I dont know anything about GIT.

Is it something that can prevent this from happening with new projects?

I recommend reading up on Version Control Systems and how to use them at a basic level. You can then use a service like github or gitlab so even if the code on your local machine gets lost, you can easily just roll back to a previous commit you created.

1 Like

I have now rebuilt those file I lost and made a backup. Gonna read more about GIT.

1 Like

EDIT: ok, maybe a little bit too chaotic for a beginner….

nevermind, I removed it. Sorry, for the noise.