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
#can i save my game
1 messages · Page 1 of 1 (latest)
What is the error?
But yes, you can copy your scene files, scripts and assets into a new project if needs be
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
you can use custom resources and then use those as saves
Hello Godotneers! When you make a game, you will eventually want to add a system for saving and loading games. This can become surprisingly difficult as your game becomes more complex. In this video we're going to explore how we can save all revelant information from our game and load it back, how to make sure we can still load old saved games a...
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
Is that exactly what the error message says? Can you screenshot?
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.
ok i go to project settings and then what i am search up how to do it but all of the videos are on how to switch scenes and thanks for helping me with this
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
like close them then reopen them or like what
If they are open then yes close them and reopen
ok
is there anything else i need to do
If that works the no, if not then probably yes
yeah it did not work i closed the scenes then reopened them and it still gave me the errors
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
ok i will try to all of that
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
@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
The scene files should be very small and this server has a 100mb file size limit. The scene files mostly just point to all your assets so they don't contain the actual models or anything to bloat it
Also did you try opening the files yourself and taking a look?
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
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...
ok
i think when it says that it can't find "res://scenes/roomspawer.tscn" it is because you don't have that file and that is why it is giving you that because i don't get that message
you don't have the file for "res://scenes/roomspawer.tscn"
It's not like I actually opened your project, I don't have nearly enough data to do that. I just opened the file in a text editor
You reported the error: #1350719227103019081 message
Do YOU have that file? If so, what happens if you try to open it?