Open michaelts1 opened 3 years ago
Ruffle no longer panics using the nighty version from 12/12/2021. However I am not closing this issue, since the game still doesn't save correctly (Saving and then refreshing the page doesn't allow to continue from last save).
I'm sorry it took until now for anyone to look at your issue. I can confirm that the game still isn't saving progress between sessions. This actually only happens on the web; the desktop app is unaffected. This is because the game actually saves a very large amount of data: about 4.1MB, mostly consisting of the thumbnail photo and any saved photos from the ingame camera. Ruffle encodes saved data as base64 and stores it in a LocalStorage key. Firefox and Chrome both seem to limit the data associated with a single LocalStorage value to about 5.3MB, which is not enough to store this game's save data, considering the additional overhead of base64 encoding. So the data silently fails to save. Not sure what we can do about this one 😦
Steps to Reproduce
Error Info
Error name: Error Error message: panicked at 'assertion failed:
(left == right)
left:true
, right:false
: cannot recursively acquire mutex', /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/wasm/../unsupported/mutex.rs:23:9 Error stack:Player Info
Allows script access: true
Page Info
Page URL: https://armorgames.com/play/195/blue-rabbits-climate-chaos SWF URL: https://cache.armorgames.com/files/games/blue-rabbits-climate-195.swf?v=1373587520
Browser Info
Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 OS: Win32
Ruffle Info
Version: 0.1.0 Name: nightly 2021-02-01 Channel: nightly Built: 2021-02-01T00:36:59.488Z Commit: d1fb36fbe2b31b9392d995ac67315aa02aee3fbc