Saving and Loading in WebPlayer

I am in the process of creating a turn based game and intend for players to be able to create content in the game. I intend for this content to be full fledged adventures, which can even have radically different statistics used from adventure to adventure, let alone the map environment, npcs, combat encounters, quest dialogues, the quests themselves, items and rewards, list goes on.

As you can probably imagine, that will be a pretty large amount of data to manage. I am not so sure about how large it’s filesize will be, although that is a potential concern as well. I am pretty confident in getting saving and loading to work despite the data management, except for webplayer.

Is it possible to create, save, and then load such data in webplayer?

Using playerprefs I imagine would be a management nightmare, and I remember mention of a 1mb limit for playerprefs in webplayer which is where my worry of filesize comes from. I’m also not sure how sending the data to someone else to load would work while using playerprefs, at least not without help from a server.

And yet, pretty much every search item I tried looking at mentions playerprefs as the de facto solution for any sort of saving for webplayer. I would consider saving each adventure’s data as a giant string, although again, potential filesize issue since the playerprefs would now have to hold option preferences such as volume, every character the player created along with their equipment, and every adventure and its progress using the data mentioned in the beginning of this thread.

I also only just got to seeing this:

which brings my hopes up a little, although I would also like more practical views on the matter.

Hoping to see radical solutions involving filetypes, or creative uses with playerprefs, or just mere mention of its impossibility or laborious effort required.
Thanks in advance.

bump

Never done that before, myself. I did read that playerprefs is an option, but the above link might offer more options.

Thank you, that contains some nice links.

Unfortunately my work week has started so I won’t be able to work on this personal project that soon to report of what works or not. In the meantime I’d love to hear more options.

I am glad to report that the AmalgamateLabs solution works nicely for WebGL, and should work the same way for PC and Android. My preliminary tests allowed me to save data in serialized classes in the same location as playerprefs. I think of as an upgraded version of playerprefs since I can save custom classes, and even arrays of said custom classes, with this method.

Currently adapting it to be able to save different types of serialized classes, to save differing things like the player’s characters and adventure data.

Isn’t playerprefs accessible though? I’m saving with JSON to persistentDataPath and I think it is one of the safer ones

I mentioned in my opening post the nature of the data I have to save, the difficulty playerprefs would pose, and the need to allow players to create and share said data with other clients. Admittedly I have not used JSON so I’m not clear of how it would work with WebGL, but the convenience of this method being directly usable after loading so far is great.