Problem with LocalStorage

Discussion and feedback on Construct 2

Post » Sun May 08, 2016 1:58 pm

Hi,

I just reworked an old project and implemented LocalStorage. I somehow get an error message when using the "Check item exists" command, no matter what item I check for. I do not use any third party plugins. The error message is:

Javascript error!
InvalidStateError
http://localhost:50000/LocalStorage_plugin.js, line 17 (col 13060)

This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.


Does anyone know how to get rid of this? I'll wait for answers and report it as a bug otherwise.
B
13
S
3
G
1
Posts: 91
Reputation: 1,477

Post » Sun May 08, 2016 4:05 pm

What browser are you using? Does it affect all browsers?

I used to run into something similar when I save state the game on Firefox preview. The issue does not occur on Chrome and also does not occur on Firefox if I play the game exported as HTML5 site and uploaded to a server.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469

Post » Sun May 08, 2016 4:17 pm

I'm using Firefox, indeed.

I just tested with Internet Explorer and the problem is gone. I wonder if this error will affect android versions which will be exported via Cocoon IO.
B
13
S
3
G
1
Posts: 91
Reputation: 1,477


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests