Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | QuasarOrb |
I get these errors if i try to run the project or open scenes in the editor, it is not just this scene it is all scenes
E 0:00:01.564 open: res://main/Game.tscn:1 - Parse Error:
<C++ Source> scene/resources/resource_format_text.cpp:804 @ open()
E 0:00:01.564 _load: Failed loading resource: res://main/Game.tscn. Make sure resources have been imported by opening the project in the editor at least once.
<C++ Error> Condition “found” is true. Returned: RES()
<C++ Source> core/io/resource_loader.cpp:271 @ _load()
E 0:00:01.564 start: Failed loading scene: res://main/Game.tscn
<C++ Error> Condition “!scene” is true. Returned: false
<C++ Source> main/main.cpp:2107 @ start()
I looked into the files and it turned out that godot was deleting all of the actual content in the scene files(i opened them in a text editor and they were blank)
QuasarOrb | 2023-05-30 14:32
I had a close enough backup that i am just using now but i would like someone to tell me how to prevent this in the future
QuasarOrb | 2023-05-30 14:43