My Game Crash After Exporting With Bb & Xcode

Discussion in 'Buildbox General Discussion' started by MizaProducer, Apr 15, 2017.

  1. MizaProducer

    MizaProducer Boxer

    Joined:
    Apr 15, 2017
    Messages:
    6
    Likes Received:
    0
    Hi guys!
    I was wondering if someone here can help me to figure out why my game crash when I open it.
    I optimized all, deleted all the unnecessary files, images etc, and cleaned all the Atlases ...
    Now my project contains 17 Atlases but I don't think that's the main cause of the crash.
    The project looks like this, pretty big: 4b7b89a65fe0dd16bc661abaa8efc66c.png
    I hope someone here is able to help me out!
    Thanks!
     
  2. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    That's a nice map you have here. :) shouldn't be the reason it crashes though.

    The reason your game crashes are the images. 17 atlases are too much. Try to bring it down at least to 6. I recommend to have no more than 1 or 2.
     
  3. MizaProducer

    MizaProducer Boxer

    Joined:
    Apr 15, 2017
    Messages:
    6
    Likes Received:
    0
    I reduced them to 5 and the app still crashing
    No idea what's the problem at this point ..
     
  4. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Does it crash exactly when you open it?

    Does it run fine on buildbox preview mode?
     
  5. MizaProducer

    MizaProducer Boxer

    Joined:
    Apr 15, 2017
    Messages:
    6
    Likes Received:
    0
    Ye it crash exactly when you open it!
    I tried to delete images etc on the "start" screen but it keep crashing
    On Buildbox it run good aff
     
  6. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    The truth is it may not be related to an image (s).

    - Since its on xcode, does it run using the xcode emulator?
    - Also when you run it on your iphone while its plugged into your mac, what are the errors in the build log?
     
  7. MizaProducer

    MizaProducer Boxer

    Joined:
    Apr 15, 2017
    Messages:
    6
    Likes Received:
    0
    I lost one night to reduce all to 3 Atlases haha..
    It still crash when I run it on my real iPhone (Xcode) not the emulator.
    I tried with Eclipse and my Nexus 5 as well, same problem..
    Xcode don't report any problem, only warnings:
    d6fb22e2ffa0400a37d830bb778dd35a.png

    Thank you very much for your help btw ! :)
     
  8. MizaProducer

    MizaProducer Boxer

    Joined:
    Apr 15, 2017
    Messages:
    6
    Likes Received:
    0
    Here is the log when I try to run the game 99eeee1444f787f532ee14255e47fa3e.png on my Nexus 5 as well:
     

Share This Page