HTML5 build doesn't start sometimes and show js error (IDBFS.getRemoteSet) (DEF-2539)

It happens mostly on windows. and sims like 15-20 % of the players has this problem (right now it’s a 3 people out of 10)
When initial progress bar reached 100% (blue line on top of splash screen) then caption “Loading…” appeared and application stuck here
I’m not sure is this related or not, but the app is a vkontakte.ru application (russian social network) and it started through iframe

NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.  dragonkid.js:1
	IDBFS.getRemoteSet/< https://dragon_vk.pipler.in/dragonkid.js:1:1378463
	IDBFS.getDB/req.onsuccess https://dragon_vk.pipler.in/dragonkid.js:1:1377667

And to fix this problem i have to enable storrage section in firefox developer tools and then delete “/data” section

Is this something wrong with my app. or maybe there is some more easy workaround for players. because developer console is a bit complex for them.

p.s. I’m not sure. but i found similar issue on the unity forums and it could be related to the browser local cache. and switching browser usually helps (as another browser cache could be empty). or restart PC.

Hmm, not sure about this. @sven, do you know?

1 Like

Hi @nicloay

I haven’t seen it myself, but I usually run Chrome, could it be something specific for Firefox?
Do you have an easy setup to reproduce it?

I’ll file a bug for it, the engine should really handle this more gracefully of course. :slight_smile: DEF-2539

In the meantime, if you disable persistent storage, does the error still appear?

1 Like

Thanks for reply @sven

But i can’t make any synthetic test for this =( I tried to run 10 different defold games but the issue is not in a local cache but sims like in IndexDB and need to run out of this space somehow - by default it’s 5mb space.
I can’t reproduce this bug, so i don’t know whether disable persistent storage helps or not.

This issue happens on chrome and mozile on windows machines. I hasn’t faced this on my mac.

2 Likes

Ouch, that’s irritating! I would suggest disabling persistent storage (of course, if that is possible in your game) anyway just to see if the number of reports go down. Then it might be good to track game progress server side instead of locally. :thumbsup:

But issue added, so we will look into it, but I don’t have a timeframe for it sadly.

2 Likes

My app hasn’t been approved in the vkontakte. Reviewer rejected it and left feedback that “app does not started” so he faced the same bug.

Without persistent storage i even need to remove google analytics. i think it use it to collect data and push it to the server on next start.

Don’t know how to reproduce this bug =(.

upd1: I don’t know how to avoid using IndexDB as I created brand new project and it use IndexedDb see screenshot