Tendsty / gooboo

An idle / incremental game
GNU General Public License v3.0
78 stars 24 forks source link

quota errors #4

Open lowie-tonijn opened 1 year ago

lowie-tonijn commented 1 year ago

Constantly getting errors: Failed to execute 'setItem' on 'Storage': Setting the value of 'goobooSavefile' exceeded the quota.

Uncaught QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'goobooSavefile' exceeded the quota.

Tendsty commented 1 year ago

This should not be happening, most browsers have a local storage limit of 50 MB, the savefile takes 60 - 100 KB of space (depending on your progress).

I'll add some error catching for the autosave process in the next release to collect further information about this issue.

For now these things would be interesting:

(if you also encounter this issue, please comment with answers to the four questions above)

Tendsty commented 1 year ago

The newest version (v1.1.2) has an error message if autosaving fails. This should make it easier to identify the issue

lowie-tonijn commented 1 year ago

It happens also when i click save (vue.je error)

image

I'm on google chrome (Version 117.0.5938.92 (Official Build) (arm64)) on MAc

lowie-tonijn commented 1 year ago

I only have the error on itch, now playing on https://tendsty.github.io/gooboo/ and works fine, with old save file

sick-puppy commented 1 year ago

iOS 17.0.2 Safari Itch.io 60kb Phone crashed when battery was at 10% shot to 0% when restarted game had lost all progress. Had to resort to 10 hour old save file