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)
- Play a game with user variables, such as the Adventures of Squaeyron or Ninja Frog.
- Get some stats on it by playing a bit
- Log out of your account and go to a different account
- Play the same game
- 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
(Include project link if relevant)
(You can go to > “About”, and take a screenshot
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
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.
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?
The code for the webplayer does store user variables on a per-device basis.
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.
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.