GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Ad hoc crashes

I've created an ad hoc on my device for my first game, but it constantly crashes. What do I do?

Comments

  • TheGabfatherTheGabfather Posts: 633Member
    edited August 2013
    Does it crash on startup, or after some time after running? I suggest using Xcode Instruments to study the metrics of the game when it's running (pay attention to the RAM usage, most importantly).

    After that, assuming you have an idea of which Rules within which Actors might be hogging all your RAM, start deactivating them to confirm. Then hopefully you'll be able to determine your faulty Rules and fix them one way or another. Good luck.

    edit: I haven't used the Viewer in a long time, but you should also try running your game with it. If it crashes there as well, then you'll have a quicker time figuring out which Rules are faulty.

    0011 0010 0011 0010 0010 0000 0110 1101 0010 0000 0111 0011 0110 1001 0110 1110 0110 0111 0110 1100 0110 0101

  • ArmellineArmelline Posts: 4,754Member, PRO
    Are you running iOS 7? Both GS Viewer and ad hoc builds will crash constantly if so.
  • vincentWvincentW Posts: 47Member
    Thanks for the help! I'm using ios 7...
    It crashes sometimes when it starts up and it crashes often when it's switching scenes.
    I'll try using xcode to find maybe some other faults in the game.
  • KevinCrossKevinCross London, UKPosts: 1,893Member
    GameSalad doesn't support iOS 7 yet but it's coming soon, in the mean time there isn't a fix for your problem other than removing iOS 7 or testing your game on another device.
  • vincentWvincentW Posts: 47Member
    edited September 2013
    Thanks all for the help!
Sign In or Register to comment.