User variables share across accounts on same device

1 sentence description of the problem: User variables are the same on different accounts using the same device

Steps to reproduce the problem every time:
(Start in a blank draft if possible)

  1. Play a game with user variables, such as the Adventures of Squaeyron or Ninja Frog.
  2. Get some stats on it by playing a bit
  3. Log out of your account and go to a different account
  4. Play the same game
  5. Your stats are the same as your other accounts, even if you had different stats on the second account- they got overwritten
    …

I expected this to happen: Have different user variables for seperate accounts

But instead this happened: They melded into one and became the same

Screenshots/video:
(Include project link if relevant)


Device details:

(You can go to :gear: > “About”, and take a screenshot

IMG_3705

ALSO:

I was in @/CinnabunPizza’s account for our Duality collab, and I played TAOS to see platformer stuff. I saw that I had 75%, and then I asked Cinnabun to check their account in that game themselves. They had their normal score, not 75%.
So it doesnt save the user variables carried across accounts

7 Likes

They might actually be device based rather than user based.

Really bad at explaining this…

Like the score doesn’t change unless you go to a different device…

So basically if you had another device, it won’t show the same score as your current device…

I know it says “USER” Variables, but that’s besides the point.

4 Likes

That just seems really weird…
If it is device variables then they should change it to account variables

Is this intentional and happening with you too?

2 Likes

The code for the webplayer does store user variables on a per-device basis.

Yep, that.


So yeah, they really are more like device variables than user variables

Code-wise, yes it is intentional. However, I don’t think the web explorer was a thing when user variables were introduced, so it definitely was not developed in a way that would actually sync it to your account. (So feature-wise, I don’t think it’s intentional)

I think the goal was/is still to have it sync with user (there is a user_variables endpoint in the API), but that’s not how it currently works.

3 Likes

I believe they are;
I own four devices capable of running Hopscotch (my two iPads, my iPhone and my Mac), and they all had different scores in games, even on the same account.

While I’m pretty sure this specific bug (the one the report’s about) doesn’t happen to me and my four devices, it is a very peculiar bug, and I think it could be an inconvenience for some.

1 Like