I’ve got a moderately well-working game that has a level select screen with buttons to go to each level. It works fine, goes to the level, you play the level… When it goes back to the level select screen, it looks fine. However, click a button to go to another level and - poof! - the Spinning Beach Ball of Doom appears and Corona Simulator quits and I’m left with a crashed Corona Simulator. In the terminal, it’s got this message:
[text]
/Applications/CoronaSDK/Corona Terminal: line 9: 8008 Segmentation fault: 11 “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
logout
[Process Completed]
[/text]
I also get a large “Corona Simulator Quit Unexpectedly” screen.
The odd thing is that it only does that at the second or third starting of a level. It has no discrimination of which level - if you play the first level through and try to start the first level again, it crashes. Or if you play the third level through and try to start the fourth level, it crashes. And, I checked the memory usage: I’m destroying all objects and when it leaves the level no memory is staying except for that which is used for the level select scene. But when I click the button, the memory checker stops and it crashes.
Any help would be greatly appreciated. [import]uid: 147322 topic_id: 32988 reply_id: 332988[/import]
