# Defold deleted my codes

**URL:** <https://forum.defold.com/t/defold-deleted-my-codes/38686>\
**Category:** Bugs\
**Created:** [December 27, 2018, 9:49am UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686 "2018-12-27T09:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![weakelectricclub](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/weakelectricclub/32/12586_2.png) [@weakelectricclub](https://forum.defold.com/u/weakelectricclub)\
**Post date:** [December 27, 2018, 9:49am UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686/1 "2018-12-27T09:49:14Z")

</div>

I saved my project.  
While Syncing, Defold had an error and crashed.  
After that, I rebooted Defold and the files are removed…  
So, My work for 5 hours was deleted…

How can i fix it?

---

<div class="post-metadata">

**Author:** ![Klear](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/klear/32/11577_2.png) [@Klear](https://forum.defold.com/u/Klear)\
**Post date:** [December 27, 2018, 10:11am UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686/2 "2018-12-27T10:11:32Z")

</div>

Is the project still present on your dashboard? You should be able to import it when you launching Defold (instead of simply opening it as usual).

Edit: This is where -

 ![defol](https://forum-defold.b-cdn.net/uploads/default/original/2X/1/1d9fbc8f6e6a9f3bfa08aebb636d6678f145804d.jpeg)

---

<div class="post-metadata">

**Author:** ![weakelectricclub](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/weakelectricclub/32/12586_2.png) [@weakelectricclub](https://forum.defold.com/u/weakelectricclub)\
**Post date:** [December 27, 2018, 10:17am UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686/3 "2018-12-27T10:17:06Z")

</div>

I know.

I wanted to sync the project after the work. But it was crushed while syncing , and Defold imported old project from Net Work (I think it is previous one.)  
(↑only 4 files are synced)

(After that, I can sync as usual.)

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [December 30, 2018, 1:01pm UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686/4 "2018-12-30T13:01:21Z")

</div>

Ouch, I’m very sorry to hear that.  
Was is a hard crash? (Did the application quit?)  
We would very much like to see the log file of the crash (see the “Help” menu)

Also, you could check your repository for [stashed changes](https://stackoverflow.com/questions/10725729/see-whats-in-a-stash-without-applying-it) to see if it was put there first.

---

<div class="post-metadata">

**Author:** ![weakelectricclub](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/weakelectricclub/32/12586_2.png) [@weakelectricclub](https://forum.defold.com/u/weakelectricclub)\
**Post date:** [January 12, 2019, 5:32am UTC](https://forum.defold.com/t/defold-deleted-my-codes/38686/5 "2019-01-12T05:32:19Z")

</div>

I’m sorry to reply so late!  
I do not use Git…

Now i checked Defold log directory, but there is not exist at that time…  
I made it again, so I hope that it won’t occer such a crash again!

(I’m Japanese, so i cant use English well)
