instant crash when running app using global events

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.
  • Now with the new and improved global events I thought I'd go ahead and try to use them for my game, unfortunately I instantly ran into problems. My app instantly crashes as I add events to the global events.

    I've managed to pin down the crash to a specific event line and have made an example app of this, for me at least the mfa crashes every time unless I edit or remove the event in question.

    I can't upload the mfa since it's too big but maybe I can send it directly to Yves or someone else at clickteam?

    Makes me sad, every time in the past that I have tried to use global events I have always found problems with app stability, so to me at least it seems complex global events can't be used in a commercial game, which is a shame. Have anyone else successfully done this?

  • I have my entire game coded in global events, and it works like butter now, but I did have one line that caused crashing before as well. It was a single event that I copy-pasted and then every time I edited it, it caused a crash. So I just deleted that event, and made a new one without copying/pasting, and everything has been fine since and I can copy/paste any events as needed without the issue reoccurring (so far).

  • Ok it's even stranger than I thought.. the app crashes randomly, sometimes starting ok, sometimes instant crash, without doing any changes. I've made a video of this

    Please login to see this link.

    This is from a clean application with only 1 frame that has any content at all and only global events being used.

    What is going on!?

  • Ok it's even stranger than I thought.. the app crashes randomly, sometimes starting ok, sometimes instant crash, without doing any changes. I've made a video of this

    Please login to see this link.

    This is from a clean application with only 1 frame that has any content at all and only global events being used.

    What is going on!?

    It's impossible to tell without seeing the code, but it looks like you've integrated VACCiNE wrong unless your only layer is named VACCiNE.

  • It's impossible to tell without seeing the code, but it looks like you've integrated VACCiNE wrong unless your only layer is named VACCiNE.

    Well the vaccine objects are there but they are not implemented yet, there's no vaccine code anywhere, they are just there for reference so I find it hard to believe just having the objects there could cause the crash?

  • Well the vaccine objects are there but they are not implemented yet, there's no vaccine code anywhere, they are just there for reference so I find it hard to believe just having the objects there could cause the crash?

    It wouldn't, but that's why it is impossible to tell what's happening unless you share your source.

  • It wouldn't, but that's why it is impossible to tell what's happening unless you share your source.

    Yes, as I said the file is too big to upload (28 MB) but I'd be happy to send it to clickteam.

    And what about the randomness? If the app crashes randomly when running it, without changing any code as in the video that would seem to indicate to me at least that it's something wrong with the runtime?

  • Yes, as I said the file is too big to upload (28 MB) but I'd be happy to send it to clickteam.

    And what about the randomness? If the app crashes randomly when running it, without changing any code as in the video that would seem to indicate to me at least that it's something wrong with the runtime?

    Again, there could be a million reasons. I've had it happen with physics interactions when I accidentally had two of the same object when I was only supposed to have one. In fact, a lot of the time that I've had "random" crashes, where sometimes it did or did it not crash, it came down to accidentally duplicating an active or extension that needed to be unique. But just way too many variables to guess.

Participate now!

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