My game’s data stores stop working recently and I don’t know why. I haven’t changed the code for it and it was working fine before. Now, I’m getting error messages such as “Unable to cast value to Object” and I’m having issues fixing it.
Is this happening to anyone else or can anybody help me fix it? Thanks.
Here’s the source code were I keep getting errors.
GetAsync only takes 1 value which is the key (or userId), other arguments will cause the script to error. By using GetAsync, you are already getting data from playerData DataStore