Hello, everyone!
I was working on a scene last night and when I opened it now the whole scene went gone. I’m certain that I saved my whole project last night. I’m not premium, is there a way to solve this?
Hello, everyone!
I was working on a scene last night and when I opened it now the whole scene went gone. I’m certain that I saved my whole project last night. I’m not premium, is there a way to solve this?
Oh no. Are your preferences set to save on preview? That might mess it up if you’re looking at a different json of the same game that didn’t have the scene you just added. I’m not sure how to fix it. In your game folder how many json files do you see, is there a temp one?
Also if you have it on, turn off autosave on preview in the preferences. Autosave is the devil.
Does this also apply even if my project is saved on cloud?
EDIT: When my game was on, I opened a new Gdevelop tab and opened a json file there. This probably happened when I saved the project from the json file I opened.
But I’ll work it out, gladly there’s not much on the scene I made.
It’s possible they can recover it if you used the cloud services. I’m not sure…
Yeh I didn’t think about it, I could have told you to put it in a new folder and copy your asset folder into it. Assuming you’re on a desktop.
Thankfully, I only had a little going on with the event that got deleted(?) it was not much. Gladly I asked about this, thank you for your response. I will definitely keep this in mind.
At least it wasn’t that much. If you are on a pc you should think about using git. If GDevelop saved your project with something you didn’t like, it won’t be a big deal because you did not commit or push your newly saved project You can use github to host a private repository for your game or host it yourself by creating a bare repository for it on a drive of your choice. I like a usb drive because I can use it on whatever computer I have with me and I don’t need internet.
I found if you go to the menu on the top left and open the File menu. there is a selection to show version history. I don’t know if this is just for builds or what, because when I click it it says it only works on cloud projects and I don’t have any cloud projects. But you can check that too.
I will explore on this. Thank you!
Use git to do version tracking, guys. There’s a good reason it’s an industry standard for version tracking. The first thing I do when starting a new project is make it a git repository and make it save the project as multiple files instead of one big json (this is optional but highly recommended if there will be multiple people working on the project)
If I always have a json in it’s own folder with no other jsons in it, is autosave still a problem? I haven’t done any repository stuff. I tend to disable event groups of what was working if I want to try a different approach and then I can refer back or go back to my original method if necessary.
Hmm, I have to say that even though I hate autosave on most things, what you describe sounds like you will be perfectly fine using it. For me it just messes with how I do things. I like deliberate and intentional saves, and if I exit without saving changes there was a good reason. Then again I always remove the trash folder on my computers too, because I can not stand trying to delete something and having it go to a storage folder instead. I said delete! I meant delete! I don’t want a junk drawer! So yeh probably I hate autosave because it clashes with my personality.