Ice library doesn't work in Corona build 840

Hey there,

I tried to post on this page, but no answer: http://developer.coronalabs.com/code/ice

So, we have been using Ice for our game to save data, and it’s been working out great, but not with the latest build, which we need to support IAPs on Android.

It’s specifically when I call the “:retrieve” function. It works fine until I restart the sim or the app on a device, then I get nil, no matter what data I put in there. It works with build 704, though.

Is there anyone in here experiencing problems with Ice in the latest build (840), and if so, can you please share your setup/code/solution?

Thanks a bunch [import]uid: 117153 topic_id: 28712 reply_id: 328712[/import]

I will try to track down this bug myself too, as we have already released the app and it’s getting kind of embarrassing :confused: [import]uid: 117153 topic_id: 28712 reply_id: 115739[/import]

Ok, after some testing, i can conclude that it’s saving error, not a retrieving error.

I also found out that it’s only the first data entry in an “ice box” that doesn’t work in 840. If I store an entry with build 704 and then return to 840, it starts working normally. [import]uid: 117153 topic_id: 28712 reply_id: 115740[/import]

I just subscribe for Indie and unfortunatley I meet the same problem with saving data :frowning: it worked so fine with 720 but now I all changed my game for 840. What to do to fix it please!?

In fact, in the simulator, sometimes it works, sometimes no. Then I tried on the device, and it’s the same behaviour. I made twice the same application, the first work on the device, the second not. It’s not stable at all :frowning: [import]uid: 107239 topic_id: 28712 reply_id: 118320[/import]

A lot of people seem to be having trouble with ICE lately, so why not save the headaches and switch it out for another library? I’ve been using Preference Library. Works great in all the latest builds.

Preference Library - Save data to Files ( tables/numbers/strings/boolean )
http://developer.coronalabs.com/code/save-data-files-tablesnumbersstringsboolean [import]uid: 14700 topic_id: 28712 reply_id: 118333[/import]

It’s what i planned to do : abandon Ice and use common save & load tables functions or use another library but i didn’t know another one, so thanks for the link, i’ll try it :wink: [import]uid: 107239 topic_id: 28712 reply_id: 118350[/import]

Hey gang, I’m using ICE with 840 without any problems, at least none I’m aware of.

At one point awhile back, ICE stop working with the Daily Builds. I believe it’s Graham R who authored it, he posted a 2nd Version of ICE immediately after. Don’t have the link. Not sure what version you are using, but if you’ve been using Ice Ver1 since 704, you may have the old version.

Nail [import]uid: 106779 topic_id: 28712 reply_id: 118354[/import]

I used the 1st version of ice with 720 and never had problem. Since 840 I took the last update of ice and as I said it doen’t work very good: saving is not stable.
I’m going to test “Preference” in hoping all will be ok [import]uid: 107239 topic_id: 28712 reply_id: 118383[/import]