Odd Crashes in iOS
3itg
Member, PRO Posts: 382
My game crashes when playing important parts of the game.
So I have been optimizing my app.
I have followed every pointer I could find.
The Problem is, when playing both the Ad-Hoc version on my device or playing through GS viewer I randomly crash while in combat with the AI.
I am getting pretty solid 60 fps, and generally I am right around 200mb total memory usage (the project is 100mb, 120mb .app).
But, I don't think its based on using too much memory. Going through this optimization process, I gradually saw every aspect of my games performance increase, it made other issues more obvious, and ultimately resulted in a reduction of the average ram used by 50% and much better performance.
On my iPad 3 I have seen my game use over 300mb of ram and not crash.
I have also gotten it to crash at 99mb of ram usage.
Crash Reporter reports a EXC_BAD_ACCESS (SIGSEGV)
or
EXC_CRASH (SIGABRT)
(if this type of info is useful in anyway, I can post more of the errors from the console or reports from instruments.)
I have been using console, instruments and the game salad debugger to attempt to locate an issue.
Can anyone potentially point me in the right direction to solve this type of error?
I am used to having code to sift through, so before coming to the forums to ask about this, I have made every attempt to fix it myself.
I have even tried duplicating my project and just started stripping as much as I could out of it to try to pinpoint a culprit and when that failed I started dissecting actors looking for problematic rules or any other suspects.
I don't expect anyone to read this and magically know the answer, however if you have an idea of where I might look it would be greatly appreciated as I have exhausted my abilities on this one.
(I never encounter any errors in GSC or in preview, only when playing on the actual device either adhoc or with the viewer)
So I have been optimizing my app.
I have followed every pointer I could find.
The Problem is, when playing both the Ad-Hoc version on my device or playing through GS viewer I randomly crash while in combat with the AI.
I am getting pretty solid 60 fps, and generally I am right around 200mb total memory usage (the project is 100mb, 120mb .app).
But, I don't think its based on using too much memory. Going through this optimization process, I gradually saw every aspect of my games performance increase, it made other issues more obvious, and ultimately resulted in a reduction of the average ram used by 50% and much better performance.
On my iPad 3 I have seen my game use over 300mb of ram and not crash.
I have also gotten it to crash at 99mb of ram usage.
Crash Reporter reports a EXC_BAD_ACCESS (SIGSEGV)
or
EXC_CRASH (SIGABRT)
(if this type of info is useful in anyway, I can post more of the errors from the console or reports from instruments.)
I have been using console, instruments and the game salad debugger to attempt to locate an issue.
Can anyone potentially point me in the right direction to solve this type of error?
I am used to having code to sift through, so before coming to the forums to ask about this, I have made every attempt to fix it myself.
I have even tried duplicating my project and just started stripping as much as I could out of it to try to pinpoint a culprit and when that failed I started dissecting actors looking for problematic rules or any other suspects.
I don't expect anyone to read this and magically know the answer, however if you have an idea of where I might look it would be greatly appreciated as I have exhausted my abilities on this one.
(I never encounter any errors in GSC or in preview, only when playing on the actual device either adhoc or with the viewer)
Comments
Did you ever find out what was causing the crashing on your device? I am having, what sounds to be a very similar issue. I too have stripped everything down, and am left scratching my head. Can you tell me what you used for more diagnostic information? I can get it to crash in the GSViewer. I haven't seen where I can get more detailed information from XCode yet. I've run it through Instruments, without seeing anything obvious, although nothing is very obvious in there.
Any help would be appreciated.
Thanks.
Our games http://Donkeysoft.ca
no crashes yet.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS