Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

What browser are you using? I'm happy that it works for you 😃 I will check, what other browsers are working. With Chrome it does not work for me. 

This time I used serialization for saving the data, but in the past game jams I always used playerprefs. This time serialization was easier, because I save arrays of BigIntegers. So yes, you can use serialization with webGL, but it seems, that it is a bit buggy. 

I'm using Chrome on mobile. With serialisation, I was confused how it would work, because there isn't really a path to save to in webGL, as far as I'm aware of. I guess PersistentDataPath is a god!

(+1)

I googled a lot, and now I'm just confused, and don't understand why it works for you 😅I also tested the game in different browsers. Sometimes it saves and sometimes nothing gets saved. So I really don't recommend using serialization in WebGL. I rewrote the loading and saving to PlayerPrefs and after the rating time ended, i will update the game. Thanks for your feedback and help!