Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

[WebGL] .data.unityweb is not cached in Desktop Safari

$
0
0
Delivering the compressed version of our **WebGL build** (within Facebook Canvas) to **Safari** ,**Chrome** and **Firefox** with Data Caching checked, that really works in **Chrome** and **Mozilla Firefox** after upgrading to **Unity 2018.3.1f1**.

Found a fix here:
[WEBGL.DATA.UNITYWEB IS NOT CACHED IN THE INDEXED DB](https://issuetracker.unity3d.com/issues/webgl-data-dot-unityweb-is-not-cached-in-the-indexed-db)

However for us it looks like it fails in case of **Safari Browser**.Just looking for a workaround.

We are using Safari version (11.1.2).Unfortunately, it's unable to cache the "**WebGL.data.unityweb**" of size **47.8MB** and the **Asset Bundles**.The large data file is downloading every time.

Does the above fix applicable for **Safari** also ?

What we can see in browser console is:

WebGL.wasm.code.unityweb and WebGL.wasm.framework.unityweb ate cached in browser memory but not WebGL.data.unityweb.

Getting the following errors in console (**Safari Browser**):

1.[UnityCache] indexedDB database could not be opened 2.[UnityCache] WebGL.wasm.framework.unityweb' successfully downloaded but not stored in the indexedDB cache due to the error: Error: indexedDB access denied 3.IndexedDB is not available. Data will not persist in cache and PlayerPrefs will not be saved.

How would we be able to find a way out?


Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>