Hi, i used your plugin for the saving of my sprites into webstorage and load it when i reopen the game.
It runs perfectly on preview mode, but when i try to run it after being exported, i get this error.
Uncaught TypeError: Cannot call method 'getCurrentSol' of undefined c2runtime.js:11294
InstBankKlassProto.CreateInstance c2runtime.js:11294
InstBankKlassProto._load_all_instances_handler c2runtime.js:11324
InstBankKlassProto.LoadAllInstances c2runtime.js:11330
Acts.LoadInstances c2runtime.js:11055
Action.run_object c2runtime.js:5968
EventBlock.run_actions_and_subevents c2runtime.js:5570
EventBlock.run c2runtime.js:5548
EventSheet.run c2runtime.js:5208
EventInclude.run c2runtime.js:6270
EventSheet.run c2runtime.js:5208
Runtime.logic c2runtime.js:2892
Runtime.tick c2runtime.js:2750
extra
I have tried clearing cache, re-exporting in various options. Nothing works.
----------------------------------------------------------------------------------
This is what i did, i created some instances of the sprites(Bricks) and (Connector). Then, i saved all the instances of the 2 sprite into the Instance Bank. Once saved, i use BankToString to store everything into WebStorage.
When I open the browser again, i used
Load Bank from JSON string WebStorage.LocalValue("InitialBricks")
Once all that is done, I used
Load all saved instances
-----------------------------------------------------------------------------------
I used this in preview mode, it works.
But after i exported it, it gave me an error and stop working. Please help. Thanks