# Makecode bug ruining my game

**URL:** <https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573>\
**Category:** Help\
**Created:** [June 27, 2025, 5:35pm UTC](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573 "2025-06-27T17:35:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubberducky271](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rubberducky271/32/9685_2.png) [@Rubberducky271](https://forum.makecode.com/u/Rubberducky271)\
**Post date:** [June 27, 2025, 5:35pm UTC](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573/1 "2025-06-27T17:35:09Z")

</div>

It randomly deletes all my sprite types and then I have to create it again. is it like a button or action im doing?

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [June 27, 2025, 6:35pm UTC](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573/2 "2025-06-27T18:35:38Z")

</div>

Unfortunately this is a known issue that has not been fixed yet. If you can restore them from the project history, that works. One teacher said that they go into JavaScript, create a new file, and move the sprite type code at the very top of the JavaScript code into the new file, which fixed their issue. Converting to JavaScript and back to blocks again has many issues, so I would try this solution in a copy of the project. As always, making frequent backups is a good idea.

---

<div class="post-metadata">

**Author:** ![Rubberducky271](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rubberducky271/32/9685_2.png) [@Rubberducky271](https://forum.makecode.com/u/Rubberducky271)\
**Post date:** [June 27, 2025, 8:32pm UTC](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573/3 "2025-06-27T20:32:41Z")

</div>

yeesh, alright, thnak goodness I do that normally or my game rn would have been _ **COOKED** _ lol

---

<div class="post-metadata">

**Author:** ![Spideykosi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/spideykosi/32/23565_2.png) [@Spideykosi](https://forum.makecode.com/u/Spideykosi)\
**Post date:** [June 30, 2025, 5:46pm UTC](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573/4 "2025-06-30T17:46:37Z")

</div>

me too
