My code randomly deleted itself

okay so, Today I went to go to my game I’ve been coding to see all of the “Tile” blocks were broken Example: Set sprite on top of fire tile →Set sprite on top of (Null) Tile, in the image you can see what happened, heck I went back and reloaded a old version and it Also Broke, Please help.

1 Like

I think this happens when you open one project with tiles, leave, and open another project. Now that it’s broken, I don’t think you can fix it just by reloading, but if you close makecode and open it again when you move from one project to another, I have found that this issue doesn’t happen. Currently it’s a very mysterious Makecode bug.
@MakeCode do y’all know why this happens?

We’ve seen this issue before (even on stream just yesterday) and are trying to get consistent ways to reproduce it – will try what you mentioned woofwoof but we’ve seen it with only the one project as well.

@AlexWuzHereXD Could you check the version history (it’s in the cogwheel) on your project? Hopefully (usually) a previous version will have the assets. Sorry this happened!

1 Like

Heres an example, Say I had a bunch of “If tile” blocks, when I reload the code it’d go blank

1 Like