Tweetsheet crashes my life app

LumpAppsLumpApps Member Posts: 2,881
edited June 2012 in Working with GS (Mac)
Hi,

Has anyone had this before?
I have a Tweet Sheet with the 'Editable by player' turned off on my life app.
It is triggered by a button (rule: when touch is released) on a screen where I show achievements.
When I hit this button my app says the tweet it posted and then crashes.
The other things in this rule are
-play a sound
-change attribute twittercount to twittercount+1
- save attribute twittercount
In that order.

I think it never happened on the adhoc version. (But not sure)

There also is a button elsewhere in the app to tweet a score which is editable. This works fine.

Best Answer

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    Does your sound have 'play to completion' on? Try turning it off...

    The key reason for a crash is a game engine memory issue, if for some reason your rule is being activated multiple times very quickly the Play Sound can cause memory usage to grow.

Answers

  • LumpAppsLumpApps Member Posts: 2,881
  • LumpAppsLumpApps Member Posts: 2,881
    The rule is activated once.
    The sound however is activated before the tweet so I can imagine that causes the problem.

    Thanks a lot!
  • zgd12zgd12 Member, PRO Posts: 7
    game crashing is caused by memory leak I suppose. I have the dreaded slowdown of my game coming just after ONCE launching tweetsheet. Completely screws up timers. Not good.
    Any ideas?
    GS team please HELP!
  • zgd12zgd12 Member, PRO Posts: 7
    GS team- can you pls comment on this issue?
Sign In or Register to comment.