Game won't start on device with new Corona version, but works fine in the simulator (and it worked before the update)

Yes, it’s me again.

After the splash screen I get a black screen on the device. No errors in the simulator (and I removed facebook support for now), so what else could be breaking the game. Without the possibility to see terminal output I have no way to debug this. Needless to say, this is really bad. [import]uid: 10835 topic_id: 4281 reply_id: 304281[/import]

It works if I build with the old version, so something in the new one is messed up.

Also there’s a pretty big difference in size between the builds of the 2 versions. New one is 10MB and old one 15MB.

Could it be that the OP stuff is missing? Since I’m using safeopenfeint it should work on the simulator, but it would break on device. That’s the only thing I can think of. I’ll take a closer look at the new OP samples, but needless to say, there should be more prominent warnings about what gets broken in the new version.

Edit: the OpenFeint samples are the same.

Edit2: Took out OP and the game works now. So OP is also broken now? Sweet. [import]uid: 10835 topic_id: 4281 reply_id: 13287[/import]

i need more info…

is there a way you can send me the source?

c [import]uid: 24 topic_id: 4281 reply_id: 13291[/import]

Sent you the source, with the relevant info (I think safeopenfeint might be the culprit). Thanks for taking a look! [import]uid: 10835 topic_id: 4281 reply_id: 13293[/import]

Read the release notes. You can workaround by adding
require(“openfeint”)
at the top of your main.lua. [import]uid: 54 topic_id: 4281 reply_id: 13296[/import]

Thanks. I got over excited, I’ve already fixed it as per carlos’ instructions.

Edit: Though not entirely my fault. The release notes take me to the resources page and I couldn’t find them so… [import]uid: 10835 topic_id: 4281 reply_id: 13298[/import]

Hi Carlos, I am facing the same issue, I have updated to the new SDK and any device build ends up with a black screen. I have posted the code in an earlier post called what’s wrong with this code and another that is with the MapKit, as I nderstand it might have to do with the new SDK or something else, I have some code enclosed, if you want to have a look.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 4281 reply_id: 13304[/import]

@jayantv, I replied to your OpenFeint question on the other thread.

http://developer.anscamobile.com/forum/2010/12/08/whats-wrong-openfeint-code#comment-13370

Tim [import]uid: 8196 topic_id: 4281 reply_id: 13371[/import]