Xcode (11db)

Discussion in 'Technical Discussion' started by 5petersonzachary, May 26, 2020.

  1. 5petersonzachary

    5petersonzachary Serious Boxer

    Joined:
    Jan 23, 2016
    Messages:
    569
    Likes Received:
    169
    I'm having crash issues with my game so I decided to run it while connected to Xcode to see whats going on. Randomly the game will stop and the audio will go nuts and debug gives me (11db) and highlights a line of code (see images below) Has anyone had this issue and know the solution? Thanks!

    Screen Shot 2020-05-26 at 4.44.58 PM.png
    Screen Shot 2020-05-26 at 4.45.23 PM.png
    Screen Shot 2020-05-26 at 4.45.43 PM.png
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    A while ago, I was testing some sound effects and faced issues on sounds (working for second and stopped), sometimes game was crashed and some other issues but the different is i was test on android
    I later discovered that the issue was caused by one of MP3 file i used
    What is the weird thing about this file
    it was too sort, about .01 sec or less, when i increased this file length..everything worked fine
    maybe you have one file causes this issue
    I hope this helps you..
     
  3. 5petersonzachary

    5petersonzachary Serious Boxer

    Joined:
    Jan 23, 2016
    Messages:
    569
    Likes Received:
    169
    Thanks for the reply, but the crashing happens randomly. One time it crashed right when it loaded the main menu UI. Sometimes it crashes when only the background music is playing.
     

Share This Page