This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

LocalStorage Failed to save script data

Did you encounter a problem, exploit, glitch or bug while playing the game or running the dedicated server software? Tell us about it here.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 27

LocalStorage Failed to save script data

Post by JakSparro98 » Mon Feb 04, 2019 9:28 pm

Maybe I'm doing something wrong but after executing Game.LocalStorage.SetItem("key","value"); I get this message from the console. It's a security exception similar to when you try to force an I/O call without using the script interface, but in this case it's a legit one :roll:
2 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Tue Feb 05, 2019 7:46 pm

Thanks for reporting. Turns out the IO operation thread was running in the wrong context (still from the ScriptAPI) in the released version. Fixed in a hotfix, so just update your game and it will work now.
0 x
Gurt

Locked