# Makecode deleted 98% of my code

**URL:** <https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579>\
**Category:** Help\
**Created:** [September 13, 2024, 5:38pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579 "2024-09-13T17:38:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)\
**Post date:** [September 13, 2024, 5:38pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/1 "2024-09-13T17:38:24Z")

</div>

AND EVERY. SINGLE. ASSET. FROM **ALL** OF MY GAMES. YES, THAT’S RIGHT

**ALL OF THEM**

I WORKED ON THOSE FOR MONTHS IF NOT, YEARS! AND YOU KNOW WHAT?

I QUIT

IM DONE  
GOODBYE MAKECODE  
ANIMATION HERE I CO-

(Thank you for all of the support everyone. This has been an amazing ride. However that was my last straw.  
Remember, it was all of my projects)

Thank you all  
(I may check the forum once in a while,  
Since this place is so caring towards others and i have literally never seen anything like it. It has been a crazy ride, goodbye makecode.)

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [September 13, 2024, 5:54pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/2 "2024-09-13T17:54:40Z")

</div>

@_jupiter I’m very sorry to hear that! This is the first example I’ve heard of multiple projects being affected like this, and would greatly appreciate if you could help me do a little debugging. Can you try downloading all of your projects to a zip file? Here’s a gif showing how to do it:

![save-as-zip](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7bb72cb4b50dc4cbdab1f3e0e1ff136c2d86bf61.gif)

That GIF is for micro:bit, but it’s exactly the same for arcade

Also, I know that this is not the most comforting thing to hear at this moment, but we do have a new feature coming called “Version History” which hopefully make recovering from these sorts of problem much more easily. This feature is already available in [makecode.microbit.org](http://makecode.microbit.org), and you can see it in action in this GIF:

![version-history](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/9/2/927f2d33fa65388117e176ccd2ac677a7d2b8e00.gif)

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [September 13, 2024, 6:53pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/3 "2024-09-13T18:53:19Z")

</div>

usually I refresh my page and the assets are back, but if you change any code, their gone forever

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [September 14, 2024, 5:57am UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/4 "2024-09-14T05:57:11Z")

</div>

I’m sure the mods can help!

---

<div class="post-metadata">

**Author:** ![codecat1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codecat1/32/29634_2.png) [@codecat1](https://forum.makecode.com/u/codecat1)\
**Post date:** [September 14, 2024, 5:58am UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/5 "2024-09-14T05:58:08Z")

</div>

I am so sorry to hear that! I lost it whenever it happened to one of my projects, but I couldn’t imagine losing all of them. I understand that you would react this way. I would find that kind of dataloss or corruption completely unacceptable. It’s really not fair that we have to worry about our coding community being inconsistent or untrustworthy with months of time that we’ll never get back. I know that this won’t do you any justice, but I just wanted to say that I support you with any path that you choose to go down after this.

---

<div class="post-metadata">

**Author:** ![CHEZMAN](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chezman/32/28817_2.png) [@CHEZMAN](https://forum.makecode.com/u/CHEZMAN)\
**Post date:** [September 14, 2024, 6:10am UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/6 "2024-09-14T06:10:58Z")

</div>

This happened to me 2 years ago and since then I’ve been super careful with my projects saving.

I’m sorry it happened to you.

---

<div class="post-metadata">

**Author:** ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)\
**Post date:** [September 14, 2024, 9:03pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/7 "2024-09-14T21:03:18Z")

</div>

Turns out I was overeacting and it was only 2 projects, however they were highly major ones that i was working on for a while

---

<div class="post-metadata">

**Author:** ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)\
**Post date:** [September 14, 2024, 9:03pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/8 "2024-09-14T21:03:19Z")

</div>

also to help i was working on my games with a school device, idk how that would incorporate, but i think it might help

---

<div class="post-metadata">

**Author:** ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)\
**Post date:** [September 14, 2024, 9:03pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/9 "2024-09-14T21:03:26Z")

</div>

The first project was coconutty, which had all of its assets deleted and about 98% of its code,  
the second was a nextbot game that had EVERY SINGLE ASSET permanently erased  
again, im sorry for saying it was all of my projects, i checked 2 and lost my sanity

---

<div class="post-metadata">

**Author:** ![labfox29](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/labfox29/32/9252_2.png) [@labfox29](https://forum.makecode.com/u/labfox29)\
**Post date:** [September 16, 2024, 5:37pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/10 "2024-09-16T17:37:55Z")

</div>

That is actually crazy. Maybe I should use a different game engine instead…

---

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [September 16, 2024, 8:48pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/11 "2024-09-16T20:48:25Z")

</div>

Ouch! I know how devastating it can be to lose your hard work! As an educator, here are some tips I suggest for classrooms, just to keep everyone’s projects safe:

When you are signed in:

1. If you lose your work, ask for help from the MakeCode Admins immediately. Sometimes, with an account name and a date, we can rescue your previous version.
2. Watch for @richard’s Version History feature and once that appears in your settings, you can select it yourself and find your previous version
3. Try uploading your game to your GitHub account regularly. You can do this with the little GitHub icon to the right of the save disk in the bottom toolbar.

Whether or not you are signed in:

1. Every time you make major strides in your game, save a copy to your device. Do this by downloading a png using the save icon in the tool, downloading a uf2 with the “Download” button, or copying a \_ link (snapshot) to a master document to be opened like a back-up at a later date.
2. Consider using [image packs](https://medium.com/kikis-corner/image-packs-29db6ef3ce7c) for your games. Not only will this allow your games to load faster, but you’ll have a GitHub trail of all changes in case something happens to your assets.

I hope these tips help everyone keep their projects safe in the future!

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [September 16, 2024, 8:48pm UTC](https://forum.makecode.com/t/makecode-deleted-98-of-my-code/30579/12 "2024-09-16T20:48:34Z")

</div>

Or save copies of your games as files to your computer! Always works for me. The cloud is unpredictable…
