When the game is loaded I see error saying that
[Error] TypeError: null is not an object (evaluating 'req')
getDB (SV.js, line 2766)
getRemoteSet (SV.js, line 2824)
(anonymous function) (SV.js, line 2747)
getLocalSet (SV.js, line 2817)
syncfs (SV.js, line 2745)
(anonymous function) (SV.js, line 3714)
forEach ([native code], line 0)
syncfs (SV.js, line 3710)
(anonymous function) (SV.js, line 8)
(anonymous function) (SV.js, line 12)
callRuntimeCallbacks (SV.js, line 1066)
preRun (SV.js, line 1095)
run (SV.js, line 3255225)
runCaller (SV.js, line 3255178)
removeRunDependency (SV.js, line 1293)
(anonymous function) (SV.js, line 11020)
xhr_onload (SV.js, line 11008)
I think that this error comes from this code in generated javascript file:
var req;
try {
req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION);
} catch (e) {
return callback(e);
}
req.onupgradeneeded = (function(e) { ... }
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So I checked console again and found another error that might explain things:
[Error] run() called, but dependencies remain, so not running
still waiting on run dependencies:
dependency: JS_FileSystem_Mount
I know that FireFox is the browser that is supported. But previously I was able to run our game in Safari, and now I am not because of this error. I am building using Unity 5.1.0p1 on OS X 10.10.4 (14E36b).
Do you have any clues?
Thanks in advance!