Discuss Scratch

DamienRosol
Scratcher
5 posts

Why does my cloud variable reset when I reload?

I need a saving system for a leaderboard engine I am making. When I test it in split screen everything is working fine, both sides are updating the variable and saving it even after I click the green flag multiple times. But once I reload the page the cloud variables just set to nothing. I searched my code, but could not find anything. I have good internet and are logged in. Please help.
petstra
Scratcher
100+ posts

Why does my cloud variable reset when I reload?

Cloud Variables are currently broken, the Scratch Team is working to fix this.

;
colinmacc
Scratcher
1000+ posts

Why does my cloud variable reset when I reload?

Try renaming the cloud variable. That often fixes problems with them.

Sample Projects

DamienRosol
Scratcher
5 posts

Why does my cloud variable reset when I reload?

Yes! This worked! Thanks so much!
medians
Scratcher
1000+ posts

Why does my cloud variable reset when I reload?

colinmacc wrote:

Try renaming the cloud variable. That often fixes problems with them.
Not sure, but I remember trying that for a newer project, and it did not fix.
Edit: Yea I just created a new project, and it has this issue:
https://scratch.mit.edu/projects/1023408307/

Last edited by medians (May 20, 2024 13:01:10)


Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
NIKI-KOLCHAGOV
Scratcher
100+ posts

Why does my cloud variable reset when I reload?

Scratch variables can often glitch and be unreliable and sometimes they fix themselves sometimes they just refuse to work properly im not quite sure and still havent really found a reliable way to stop them from glitching and breaking
I guess you could try to make new ones copy the project or as other people said to rename them

I recently made a project to try and optimize scratch cloud variables and for them to store more info and it worked but i also have quite a few projects that are broken

Last edited by NIKI-KOLCHAGOV (May 23, 2024 12:37:37)






Powered by DjangoBB