User Tag List

Results 1 to 9 of 9

Thread: instant crash when running app using global events

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Unhappy instant crash when running app using global events

    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?

  2. #2
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    124
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    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).

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thats good to know, maybe hope is not lost then still would be nice if someone from clickteam could have a look at this mfa and determine why the crash is happening

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    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

    https://www.youtube.com/watch?v=IkWQLdrl4J4

    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!?

  5. #5
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    124
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SirEatAlot View Post
    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

    https://www.youtube.com/watch?v=IkWQLdrl4J4

    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.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CuddlyGoose View Post
    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?

  7. #7
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    124
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SirEatAlot View Post
    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.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CuddlyGoose View Post
    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?

  9. #9
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    124
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SirEatAlot View Post
    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.

Similar Threads

  1. Forcing Instant ( green ) Events possible?
    By King_Cool in forum Fusion 2.5
    Replies: 10
    Last Post: 30th December 2015, 03:04 PM
  2. Running frame from global events is annoying
    By dustingunn in forum Fusion 2.5
    Replies: 2
    Last Post: 7th February 2014, 04:43 PM
  3. Instant crash - Overload?
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th January 2008, 05:43 PM
  4. Instant crash problem
    By izac in forum File Archive
    Replies: 0
    Last Post: 8th October 2006, 12:25 PM
  5. Crash from Global events to Storyboard editor
    By jasonorme in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th August 2006, 04:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •