#can i save my game

1 messages · Page 1 of 1 (latest)

storm spear
#

so i have been working on a game for like 5 months and then one day it say that there is a loading error and it say that every time i load up the game and i don't want to have to start over so i just want to know if my game is done and i have to start over or is there a way to save the scene files
and before you ask i did not back it up with github i was still learning how to do that

solid laurel
#

What is the error?

#

But yes, you can copy your scene files, scripts and assets into a new project if needs be

storm spear
#

ok

#

and the errors are like scene1 could not load and it says that for everyone of my scenes

#

and it happened every time i opened my project

topaz yoke
#

you can use custom resources and then use those as saves

#

i watched this whole video before i made my first save and load system

#

although not necessary at all, it helped me understand the different ways to save your game, and all kinds of other information that i think its important and useful

solid laurel
storm spear
#

so sorry that it is that small i tryed to make it bigger

solid laurel
#

I think if you try to open those scenes in the editor is will tell you that some dependencies are missing and show you a menu where you can remap them to fix the issue.

storm spear
solid laurel
#

Not project settings, find the scenes in the file system and try to open them. You are looking for room_1.tscn and room_2.tscn

storm spear
solid laurel
#

If they are open then yes close them and reopen

storm spear
#

ok

storm spear
solid laurel
#

If that works the no, if not then probably yes

storm spear
limpid hull
# storm spear

I'm no expert but I'm pretty sure those errors mean line 25 of room_1 and line 51 of room_2 are broken
With the way godot works it's possible you found a bug with the newish UID system or the file may have simply got corrupt somehow

First to clarify what shadowdragon was asking, they simply want you to open your project like you normally do, then to open the scenes in question. Once you open the scenes, with any luck, godot will give you a more specific error like resource not found or something.

If that doesn't work then you can check godot itself it's just being stupid. Make a COPY of your project to a new folder somewhere but DON'T copy the .godot folder.
The .godot folder contains a bunch of metadata that's local to your PC so not copying it is the expected thing to do. Once you open the new copy godot will go through all the files and recreate the .godot folder. If that works file a bug report.

If that doesn't fix it then you are in the more likely case of the file being corrupted, to resolve that depends on how it got corrupted in the first place. The actual scene files are pretty basic if you open them in a regular text editor. Take a look at the mentioned lines in each file and see if there's any obvious issues like a missing " or something. If you want an idea of what the files are meant to look like just make a new project, make a simply scene and drag some stuff in there.

If after all that you are still having issues post the 2 scene files in question so we can look at them directly

and before you ask i did not back it up with github i was still learning how to do that
Finally, you seem to have realised it already but seriously learn how to use git ASAP. Without proper version control your projects are always at risk. Once you get used to it you will be able to create faster & better code because of it. And every time you run into an issue like this you will thank yourself for committing your code. Good luck

storm spear
#

ok i will try to all of that

storm spear
#

ok so i try to make a copy of the game and if that fix's it then file a bug report if it dose not fix it then i have to send a copy of the scenes and then if we can't find out what is wrong then i have to start over

storm spear
#

@limpid hull i just made a copy and it is giving me the same errors that it did

#

so how do i send the 2 scenes, because i think they are to big for me to send

limpid hull
#

Also did you try opening the files yourself and taking a look?

storm spear
#

not going to lie i have no clue what i am looking for, like what could be making it not load

#

oh ok here you are @limpid hull

limpid hull
# storm spear oh ok here you are <@173761558885826561>

It's complaining it can't find "res://scenes/roomspawer.tscn"
Did you delete or move that scene?

The way you can tell is the error complained about line 25 in the first file which is
[node name="Node3D" parent="." instance=ExtResource("2_v7fnx")]
The ext resource part shows you the local ID of the resource with the issue 2_v7fnx. Which is listed at the top as the path I posted. Basically the same for the other file

But I'm pretty sure if you open these scenes in godot like you were originally asked to then godot should have given you a clear missing dependency dialog with a UI to resolve it so...

storm spear
#

ok

storm spear
#

this gui

#

@limpid hull it never says anything ever

storm spear
#

you don't have the file for "res://scenes/roomspawer.tscn"

limpid hull
solid laurel