Game crashes after loading

Hi

I am trying to get the game I made on my Android phone, using windows creator tools. I have nothing with Apple, so I can't try it using Apple. I have successfully put the game on my Android, and it starts. But whenever I try pressing one of the buttons on the start screen, it crashes. I have no idea how to fix this.
I hope I can get an answer using the forums, I have tried googling the problem, but that didn't give any information at all.

Thanks
Applify

Best Answer

  • jonmulcahyjonmulcahy Posts: 10,408
    Accepted Answer
    So I tried moving the scene, and apparently it is a problem in the scene. How do I detect what the actor is that makes it crash? Is there an easier way than just deleting every single actor and trying them one by one? Because there are quite a few actors in every level..

    Applify
    does every scene crash or only one of them?

    if it's every scene, there is a shared actor. if only one of them, then you can focus on what is different.

    but unfortunatly, you'll have to go one at a time until you find it. focus on the newest actors added to the game. It's most likely related to an attribute that you deleted that was still referenced in a rule. That seems to be the cause most of the time.

Answers

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Which version of Creator are you using to publish?
    Which Android sdk version?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
  • ApplifyApplify Member, PRO Posts: 7
    Which version of Creator are you using to publish?
    Which Android sdk version?
    I use the most recent version for windows (It says 0.10.00), and I don't know what version of Android SDK we use, Where do I find this?
    could be bad code. do any buttons work or do they all crash?
    I have 2 buttons on the start screen, a new game and continue button. Both of them make it crash. Before I used no buttons and I tried it with just a click on the normal screen, but that also crashed. On the PC it works perfectly though.

    Greetings
    Applify
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    usually when it works in the creator and fails on the device there are either performance issues with RAM or bad code somewhere.

    two things to try:

    make a fake blank scene and adjust one of the buttons to go there. does that work? button is fine.

    move the scene you are trying to change to to the initial scene. that will tell you if the problem is with the scene or not.
  • ApplifyApplify Member, PRO Posts: 7
    usually when it works in the creator and fails on the device there are either performance issues with RAM or bad code somewhere.

    two things to try:

    make a fake blank scene and adjust one of the buttons to go there. does that work? button is fine.

    move the scene you are trying to change to to the initial scene. that will tell you if the problem is with the scene or not.
    I'm going to try both tomorrow, I will update this then.

    Thanks a lot for the fast reactions
    Applify
  • ApplifyApplify Member, PRO Posts: 7
    So I tried moving the scene, and apparently it is a problem in the scene. How do I detect what the actor is that makes it crash? Is there an easier way than just deleting every single actor and trying them one by one? Because there are quite a few actors in every level..

    Applify
  • mrcameron999mrcameron999 Member Posts: 182
    Im having the same problem ave you found a way to solve it at all
Sign In or Register to comment.