# Makecode Arcade having issues with variables and sprite types

**URL:** https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735
**Category:** Help
**Created:** [August 18, 2025, 2:57am UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735 "2025-08-18T02:57:54Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Trr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/trr/32/31964_2.png) [@Trr](https://forum.makecode.com/u/Trr)
#### Post date: [August 18, 2025, 2:57am UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/1 "2025-08-18T02:57:54Z")

</div>

Though I don’t have images or clips of this happening, sometimes, either all variables or sprite types (excluding the ones that were already given to you like Player, Enemy, etc) will randomly get deleted from the project.

Other times, when variables aren’t deleted, they would get replaced another variable.

This has been slowing me a lot on my mini game jam project. I don’t think there’s need to reply to this, I just wanna report this issue.

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [August 18, 2025, 4:26pm UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/2 "2025-08-18T16:26:14Z")

</div>

This happens to me soo much! The newest version of makecode has so many bugs that aren’t getting fixed, or sometimes even acknowledged. I am really grateful for the makecode team, but at this point it might be better to go to a different game engine. 😔

---

<div class="post-metadata">

### Author: ![a012](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/a012/32/24099_2.png) [@a012](https://forum.makecode.com/u/a012)
#### Post date: [August 18, 2025, 4:32pm UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/3 "2025-08-18T16:32:33Z")

</div>

> [@Trr](#):
>
> Though I don’t have images or clips of this happening, sometimes, either all variables or sprite types (excluding the ones that were already given to you like Player, Enemy, etc) will randomly get deleted from the project.
> 
> Other times, when variables aren’t deleted, they would get replaced another variable.
> 
> This has been slowing me a lot on my mini game jam project. I don’t think there’s need to reply to this, I just wanna report this issue.

1. **Name all your assets explicitly** : Go through your sprites, variables, and kinds, and give them clear, unique names right away. This seems to help prevent automatic cleanup or deletion by the editor.
2. **Clean up duplicates and unused items** : Before saving or reloading, delete any duplicate assets (e.g., multiple copies of the same sprite) and replace them with a single, named version. Avoid using the “duplicate” function if possible, as it can trigger the issue.
3. **Save and backup frequently** : Use the version history feature in MakeCode (under the project menu) to revert if things go missing. Also, consider exporting your project regularly as a .png or .mkcd file to have backups outside the editor.
4. **Reload carefully** : If you notice things missing after a reload, try undoing (Ctrl+Z) immediately or switching between blocks/JavaScript views, which sometimes restores them.
5. **Test in a stable environment** : Ensure you’re using the latest stable version of MakeCode (not beta), and try a different browser if you’re on Chrome/Edge—some users report fewer issues in Firefox.

If this persists or you can pinpoint steps to reproduce it (e.g., specific actions like deleting a block or adding a new sprite), it would be great to share more details on the official MakeCode forum threads discussing this, such as these ones for visibility and potential fixes from the devs:

- [Makecode Removing all SpriteKinds and varibles](https://forum.makecode.com/t/makecode-removing-all-spritekinds-and-varibles/34914)
- [Game Breaking and Variables being renamed?](https://forum.makecode.com/t/game-breaking-and-variables-being-renamed/35018)
- [Spritekind keeps disappearing](https://forum.makecode.com/t/spritekind-keeps-disappearing/38322)
- [Makecode bug ruining my game](https://forum.makecode.com/t/makecode-bug-ruining-my-game/37573)

---

<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: [August 20, 2025, 6:43pm UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/4 "2025-08-20T18:43:50Z")

</div>

Wow, thanks for collecting all the info, this is perfect!

Yeah, @BotWarrior it is frustrating, but they have actually acknowledged this bug a lot and keep trying to fix it! I think the new features we got from the most recent update outweigh the new bugs.

---

<div class="post-metadata">

### Author: ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)
#### Post date: [August 21, 2025, 12:51am UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/5 "2025-08-21T00:51:30Z")

</div>

I do agree that browser extensions and all others were very good and fun to use, but losing two projects that were my big games, in a row, is kinda hard…

---

<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: [October 24, 2025, 5:45pm UTC](https://forum.makecode.com/t/makecode-arcade-having-issues-with-variables-and-sprite-types/38735/6 "2025-10-24T17:45:39Z")

</div>

i can now happily report that the SpriteKind and Variable disappearing bug has finally been fixed! the bug fix was released moments ago and the new version of arcade is 2.0.61 (you can check what version by clicking “About” in the gearwheel menu). it might take a second for your computer to download the update but it should be automatically refreshed when you go to the website.
