Project backed to previous save

I have created a project, I kept working on it for a few weeks, and now it set itself for a version from 5 days ago and what I should have isn’t even in the version history. Any help, please?

2 Likes

I haven’t ever seen this happen before. I would check the list of other projects first to make sure this one isn’t a copy that was created at some point for some reason. Also make sure that the device you were editing on for those 5 days has synced to cloud and stuff. Other than that, I got nothing. I’ve never seen this happen before.

2 Likes

I’m so sorry to hear that Miles :frowning:
I tested going back to a previous version on my project and it still showed the newer versions after going back.
Are there any duplicate projects in your project list? Maybe there was an issue saving or loading the project and it loaded an old backup?

1 Like

there was not a copy of it but I was working on it across multiple devices, so maybe that was the issue. I have now solved it by sharing myself the project from a seperate device.

1 Like

I never manually switched versions, it just seemed to happen. I had been working on it every day since 5 days ago, and every time I started working on it again, makecode loaded the correct version but it didn’t now. I have solved the issue by going on a different device and emailing myself my project.

2 Likes

I’m glad you were able to restore your work!
I opened a project once only to find half the code gone and along with it a week’s effort :frowning:
Ever since, I always do manual saves as well just in case the project breaks or the cloud save data gets corrupted or any other mishap.
Good luck with your coding!

1 Like

how do you manually save?

1 Like

By clicking on the camera icon under your game simulator:

It’ll download a picture which surprisingly you can use to import your game again in case something happens. I usually save every 10 to 30 minutes.

1 Like

The same error just happened to one of my projects. Maybe there was a bug with makecode?

It happened to me on multiple occasions up to 2 years ago so I would say it’s definitely got to do with makecode and how it handles saving projects and caching them etc

you could also save by URL. Which would be beter? URL or PNG?

Since the URL also relies on Microsoft hosting the game / storing it I think it’s safer to save the PNG instead since it’s locally saved with no risk (as long as you’re careful with where you store it).