# Over half my code dissapearing

**URL:** <https://forum.makecode.com/t/over-half-my-code-dissapearing/10789>\
**Category:** Help\
**Created:** [November 7, 2021, 8:28pm UTC](https://forum.makecode.com/t/over-half-my-code-dissapearing/10789 "2021-11-07T20:28:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParaMattYT](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@ParaMattYT](https://forum.makecode.com/u/ParaMattYT)\
**Post date:** [November 7, 2021, 8:28pm UTC](https://forum.makecode.com/t/over-half-my-code-dissapearing/10789/1 "2021-11-07T20:28:38Z")

</div>

So I was developing a game  
I took a break for the weekend  
and when i came back over half the code disappeared and all of the assets were gone  
is there a way to load a previous autosave?  
The game is still there but not the code

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [November 15, 2021, 4:36pm UTC](https://forum.makecode.com/t/over-half-my-code-dissapearing/10789/2 "2021-11-15T16:36:18Z")

</div>

There is no way to autosave unless you’ve either:

A) Saved your work via PNG before the code disappeared  
B) Saved your work to a Github Repository  
C) Saved your work by publishing it before the code disappeared and kept the link to the game

If you’ve done none of the above, then unfortunately you’ll have to restart your progress if you cannot recreate the lost code.
