Search found 4 matches

by mbmb
Sun Sep 12, 2021 11:21 pm
Forum: General Discussion
Topic: Hitting 1MB PlayerPrefs limit on webgl
Replies: 5
Views: 1313

Re: Hitting 1MB PlayerPrefs limit on webgl

Setting location to cache and using saveraw and loadraw worked perfectly, thank you (and way faster than playerprefs performance-wise)!
by mbmb
Sun Sep 12, 2021 10:27 pm
Forum: General Discussion
Topic: Hitting 1MB PlayerPrefs limit on webgl
Replies: 5
Views: 1313

Re: Hitting 1MB PlayerPrefs limit on webgl

I will try that again, just tried it but must not have set sync to file properly as it was still erroring.
by mbmb
Sun Sep 12, 2021 9:53 pm
Forum: General Discussion
Topic: Hitting 1MB PlayerPrefs limit on webgl
Replies: 5
Views: 1313

Re: Hitting 1MB PlayerPrefs limit on webgl

I’m getting the playerprefs memory exception in all the browsers I’ve tried, so very happy to try the cache:

I’m good with using the cache object once it’s populated, but how do I populate the cache from a string (Json contents of the ES3 save-file)

Thanks for the fast response!

Regards,
by mbmb
Sun Sep 12, 2021 8:52 pm
Forum: General Discussion
Topic: Hitting 1MB PlayerPrefs limit on webgl
Replies: 5
Views: 1313

Hitting 1MB PlayerPrefs limit on webgl

Hi all, For my application, I can't use the ES3Cloud code directly (no mysql on the server), but even when testing with that, I'm running into the 1MB PlayerPrefs limit on webplayer: I have my ES3 file contents in a string in the player and am asking how I feed that into a non-filesystem-backed ES3F...