Jump to content
Yeah i had the same problem with the Sim crashing ( on mac).2013.2100
I used it in my main to get screenshots which could be used for the store - not actually part of the app function.
I just commented it out and is working fine - but again i only used it for administration - not part of game, so that may not work for you.
There are no non-ASCII characters in the app's name. There are spaces in the sandbox path but I don't think this may cause the problem, because the simulator crashes even if I choose not to save the screenshot e.g. local captureScr=display.captureScreen(false)
Any other ideas? I really appreciate your help.
It works fine on Android. Haven't tested it in iOS but I suspect it will also work. It seems it is a simulator issue. The problem is I can't work on my project if the simulator keeps crashing. Because after the screenshot is taken, it should be displayed on screen and then there are some interactions taking place on it. I have to build and test on device to test this functionality.
What I do now to avoid the crashing is to temporary simulate the screenshot with a simple white rectangle of the same size.
skip this--> local captureScr = display.captureScreen(false)
The "ScreenCaptureToFile" sample file (that comes with the installation) located in Corona Labs\Corona SDK\Sample Code also crashes the simulator. So I guess it is something related to my computer. The thing is that the captureScreen function worked perfectly in my project until version 2013.1202 (included). Anyway thanks for your help. If you think of something else please let me know.
I believe its just on the windows. I publish the game and it works fine on android.
Anyway for the sample project, it just immediately pops up "Corona Simulator has stopped working"
For my game, it just hang on the screen until I relaunch the game, then it pops up "Corona Simulator has stopped working"
Community Forum Software by IP.Board