Fixed - Simulator closes app unexpectedly

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.
  • When clicking around and playing with the virtual joystick the simulator closes the app and returns to the home screen. I can't find the exact sequence causing this, but it seems to be a combination of both clicks and joystick.

    -Mokhtar M. Khorshid

  • How exactly do get get the stacktrace from the console? (I'm not a Mac user, so I'm not familiar with where things are)

    The Applications/Utilities/Console just shows me an empty console prompt, what do you want me to do with that? Spawn the simulator from there? If so, how do I do this?

    -Mokhtar M. Khorshid

  • We are talking about the XCode console, not the Mac terminal/console :)

    You can find the right one when you have the XCode window in front and go to "Run -> Console"

    The console will always be there containing information from all the previous runs. When the game crashes it should throw a stacktrace in that window.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • Here is the console output:

    [Session started at 2010-09-08 07:27:46 -0600.]
    2010-09-08 07:28:05.671 iosTest[302:207] Got opengl error: 1282
    2010-09-08 07:28:43.556 iosTest[302:207] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteData subdataWithRange:]: range {212945, 4132204093} exceeds data length 21101513'
    *** Call stack at first throw:
    (
    0 CoreFoundation 0x02826919 __exceptionPreprocess + 185
    1 libobjc.A.dylib 0x029745de objc_exception_throw + 47
    2 CoreFoundation 0x027df078 +[NSException raise:format:arguments:] + 136
    3 CoreFoundation 0x027defea +[NSException raise:format:] + 58
    4 Foundation 0x0026ee4a -[NSData(NSData) subdataWithRange:] + 381
    5 iosTest 0x00004c2c -[CFile getSubData:] + 95
    6 iosTest 0x0007eea1 -[CSound load:] + 296
    7 iosTest 0x0001054b -[CSoundBank load] + 655
    8 iosTest 0x000150f8 -[CRunFrame loadFullFrame:] + 4149
    9 iosTest 0x00008964 -[CRunApp startTheFrame] + 269
    10 iosTest 0x00007e9c -[CRunApp playApplication:] + 276
    11 iosTest 0x00003b36 -[CRunView timerEntry] + 457
    12 Foundation 0x0024ac99 __NSFireTimer + 125
    13 CoreFoundation 0x02807d43 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
    14 CoreFoundation 0x02809384 __CFRunLoopDoTimer + 1364
    15 CoreFoundation 0x02765d09 __CFRunLoopRun + 1817
    16 CoreFoundation 0x02765280 CFRunLoopRunSpecific + 208
    17 CoreFoundation 0x027651a1 CFRunLoopRunInMode + 97
    18 GraphicsServices 0x034162c8 GSEventRunModal + 217
    19 GraphicsServices 0x0341638d GSEventRun + 115
    20 UIKit 0x004c2b58 UIApplicationMain + 1160
    21 iosTest 0x00002912 main + 104
    22 iosTest 0x000028a1 start + 53
    )
    terminate called after throwing an instance of 'NSException'
    Stack dump:
    0. Running pass 'Linear Scan Register Allocator' on function '@gldLLVMFPTransform27'

    -Mokhtar M. Khorshid

  • This seems to happen when loading the frame itself, not when playing the sound.
    Can you give me any information on which sounds files you use in your game? Format, length and bitrates would be good. :)

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • Here are the details of the track that's probably involved.

    Although I'm not sure why it doesn't occur on start up. I suspect it's because normal buttons disappear but may still be click-able.

    Format: .wav file
    Length: 1:40
    Size: 17 MB (in raw format)
    Bit Rate: 1411 kbps

    -Mokhtar M. Khorshid

Participate now!

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