Transferring projects between devices.

Godot Version

4.6

Question

I was working on a project last night on my computer at home, and I made the project on a portable drive because that’s where most of my storage is. Since I have a free class I decided to take the hard drive with me and work on my game at school. Importing the project onto those computers went perfectly fine, and I made sure to double-save all my progress when I packed it up to go home. When I got home and plugged my drive back in however, all my progress was gone. I tried re-importing it and I even checked the folder itself, and the new script files I made were also gone. I’m a bit frustrated and if there’s anything I can do, advice would be appreciated. Thanks.

It may be better to “Scan” than “Import”. Scan will look for existing files, Import may make a copy in some situations. In Godot’s project browser you can double check the paths for each project under the project name in darker text.

I hope you are able to recover your work. For the future, I would recommend a fail-safe process any time you are working on more than one computer (assuming you don’t have a mobile git repository on your portable drive).

Make a fresh copy of your project on your portable drive, and use that copy on the second computer. When you return to your primary computer, make another copy of the project. Then verify the integrity of that project. Only then can your original project be discarded. Or you can archive that copy for historical purposes.

This is by no means the only failsafe practice, but it works well if you have the storage space.

You could upload somewhere. Either github or more easy to learn and setup some service like dropbox. They give a few gig for free and its enough for most projects.

Safer too. For example my wifi-chip broke a few weeks ago. Could have been the hard drive. Better keep it somewhere additionally to the hard drive.

It may be that your project is in some folder on the school computer depending on where you saved it. I’d double check if you can’t find it now while at home.

How did you save your work?

How did you copy your work? How did you paste it?

Copying and pasting project directories has always worked for me.