SubApp crashes main app

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I use a modal SubApp to pause my game, giving the player these options:
    1: Continue
    2: Restart current stage (forces main app to restart current frame)
    3: Quit current stage (forces main app to jump to a different frame)

    When the SubApp ends and the player has chosen option 2 or 3 the whole game crashes when restarting or changing the frame. Also happens if the SubApp is not modal.

    First I thought about a timing problem, but it doesn't matter if I wait some seconds after destroying the finished SubApp or if I don't destroy it at all.

    Edit: I noticed the same technique still works in my older games, which are Windows only. My current game is for iOS and Windows, I just set a flag and the app executes runtime-specific events. So, does the iOS stuff cause problems in the Windows runtime? This game is quite complex and there are zero problems, only the SubApp is somehow involved.

    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

    Edited once, last by JoKa (June 28, 2013 at 12:35 PM).

  • Try destroying the SubApp before the restart/end, or destroying all the objects within the subapp before it runs "end application". Might be an object that doesn't want to go.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • I tried to find out if a single iOS-related Object causes the problem and yes, it's the Chartboost extension. Once I remove it from the frame (really delete the Object, not just a destroy event!) everything works fine. I'll tell the developer about this issue.

    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!