Disappearing variables

I have a very large makecode arcade project (with 56 variables), and from time to time the variables just randomly disappear. Other things like code was disappearing, so I switched to the desktop version and dont seem to have the same problem. If I simply make a save and reload the page/app the variables come back. This happens randomly.

7 Likes

yea idk why this happens. for me though it usually the tiles in stuff like overlaps.

2 Likes

If you search around through the makecode forums, a lot of stuff like this is happening all the time. It is a pretty common but frustrating bug.

2 Likes

The tiles issue happens to me when I switch from one project to another. Whenever I switch, I exit the tab and then click Ctrl+shift+T which brings back the tab. For me this tiles issue seems to be more of a visual glitch though. I suspect there is some memory that’s not being cleared when you switch projects, so stuff in one project can get replaced by the things from a different project. But that’s just a theory… a game theory… :)

4 Likes

I’ve found that when the variable glitch happens, all you need to do is save and reload, and it should work.

1 Like

no a code theory

1 Like

I can’t do that, as whenever I open makecode it takes 5 minutes

1 Like

I’m wondering what device y’all are using makecode on, if you’re signed in, and how many projects you have on your account. I am using makecode on a Macbook Air (M4, 16 GB), am signed in, and have 300+ projects on my account. Makeode takes less than 3 second to open (Chrome) with and without internet turned on (it seems to take less time with the internet off, as it probably isn’t checking for new projects attached to my account) and opening projects also takes less than 3 seconds. I just tried opening a 2 year old blocks project with 809 blocks in it, and it took about 8 seconds. Maybe if I clear website cache and other data it will take longer? I’m wondering if your computers are all clearing website cache every time, and makecode is re-downloading every project you have before opening, but that seems quite… unlikely. Do you have to sign in to makecode every time you open it? That would be a sign of the website data being cleared, but unless you are on a school device I see no reason for website data to get cleared unless you’re doing it yourself.

1 Like

I don’t have to sign in to makecode every time, and this is only a recent issue. In one of my other posts (I can’t be bothered to find it) I showed that this “project” was showing up three to four times on the developer tools timeline, averaging at a few minutes to load each one. I feel like this is an issue with makecode and not my computer as it wasn’t always like this.

1 Like

Yeah, I’ve used Makecode on a school Chromebook and it was never this bad. I don’t believe it’s an issue with processing power, just with some Makecode bug that is only happening to some people.

1 Like