# Code deleting randomly

**URL:** https://forum.makecode.com/t/code-deleting-randomly/35057
**Category:** Help
**Created:** [March 31, 2025, 5:00pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057 "2025-03-31T17:00:11Z")
**Posts on this page:** 11
**Page:** 2

<div class="post-metadata">

### Author: ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)
#### Post date: [October 25, 2025, 6:07pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/21 "2025-10-25T18:07:03Z")

</div>

I got a message from pxt arcade and was so happy YAY

---

<div class="post-metadata">

### Author: ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)
#### Post date: [October 25, 2025, 6:07pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/22 "2025-10-25T18:07:05Z")

</div>

what about tile disappearing from the container blocks

---

<div class="post-metadata">

### Author: ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)
#### Post date: [October 26, 2025, 1:45am UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/23 "2025-10-26T01:45:25Z")

</div>

Thats still the same.

In fact its happened to **me**

**TWICE**

## **JUST**

# **TODAY!!!**

---

<div class="post-metadata">

### Author: ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)
#### Post date: [October 27, 2025, 4:17am UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/24 "2025-10-27T04:17:27Z")

</div>

same bro

---

<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: [October 27, 2025, 4:47am UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/25 "2025-10-27T04:47:42Z")

</div>

Richard explained it on stream. (Y’all should watch the streams!!)

Apparently, when you open a block tab, the data has to load fresh, so instead of loading the block tabs fresh every time, they save the block layout, so that you don’t have a huge load time when opening block tabs. As it turns out, they can only save 21 of these block tab layouts, so after 21 they delete old ones to load the new one. Somehow, their service changed, and so when they deleted old block layouts to make room for new ones, the sprite kind data got deleted too!

There are’t even 21 layouts in normal Makecode, which is why this issue would only happen to people using extensions, and why it would happen more often to people who used more extensions.

---

<div class="post-metadata">

### Author: ![MeatballDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meatballdev/32/28502_2.png) [@MeatballDev](https://forum.makecode.com/u/MeatballDev)
#### Post date: [October 27, 2025, 4:42pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/26 "2025-10-27T16:42:57Z")

</div>

when do streams happen

---

<div class="post-metadata">

### Author: ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)
#### Post date: [October 27, 2025, 4:43pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/27 "2025-10-27T16:43:04Z")

</div>

> [@WoofWoof](#):
>
> (Y’all should watch the streams!!)

Im trying to ok  
Sadly i can’t on fridays…

Altho, that does make sense. The project this happened to has:

Sprite Data, Sprite Utils, Javascript extras, Statusbars, Color Fading, Browser Events, Text Sprites, Mini Menus, Tile Util, Timer, Settings and Robo Technical Sprite Transformations. Wow.

---

<div class="post-metadata">

### Author: ![CopySprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/copysprite/32/35475_2.png) [@CopySprite](https://forum.makecode.com/u/CopySprite)
#### Post date: [October 27, 2025, 4:58pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/28 "2025-10-27T16:58:51Z")

</div>

At **1:00 PM PDT** every Monday, Wednesday and Friday.

---

<div class="post-metadata">

### Author: ![Cybercube](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cybercube/32/34628_2.png) [@Cybercube](https://forum.makecode.com/u/Cybercube)
#### Post date: [November 1, 2025, 8:26pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/29 "2025-11-01T20:26:34Z")

</div>

Just renamed all the variables, sprite of kind and etc… That worked for me.

---

<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: [November 2, 2025, 12:59am UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/30 "2025-11-02T00:59:48Z")

</div>

Richard actually announced just yesterday (on stream) that this has also been fixed, though it has not been pushed to production just yet. Here is the explanation he wrote in GitHub:

 ![Screenshot_2025-11-01_at_11.02.16_AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/d/8dbb43f087014a9d48e3f66dba4215f5cb0aca40.png)  
This doesn’t exactly explain the issue, but basically the data from one project would get replaced by the data from another if you opened a project, didn’t edit it at all, and then opened another project. He explained this on stream. If you can’t watch the streams live, you can always watch them later on YouTube! The explanation is at 23:30 in [this stream video](https://www.youtube.com/live/DfHXl_zw9dk?feature=shared).

(once again y’all should watch on stream! I like chatting with people in stream chat. I often see Random, Astral, Astronomer, Luke, and more!)

---

<div class="post-metadata">

### Author: ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)
#### Post date: [November 2, 2025, 1:48pm UTC](https://forum.makecode.com/t/code-deleting-randomly/35057/31 "2025-11-02T13:48:20Z")

</div>

another bug I think its like the enums in extensions change back to the first one no matter what after closing the tab for like 8 hours

[Previous page](https://forum.makecode.com/t/code-deleting-randomly/35057.md?page=1)
