Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Apk crashes 50% of the time in loading screen

Discussion in 'Android' started by Tanatosx3, Dec 24, 2015.

  1. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    Hello everyone

    Im working on this issue for almost 4 days now and i cant fix it, so i hope one of you could help me.

    The quiz i made is about to get released on Google Play, when i discovered that its sometimes crashing when starting on my android phone (like every 2nd time).

    I merged Admob plugin, Chartboost plugin and a native plugin form the asset store together, wich worked great after i spend a lot of time working on it.

    I think maybe the problem is with the lots of libs that are used here, but the thing is that i dont even know WHY it got messed up after working so greatly, so im not sure if the problem is there :/

    But i got the Debug log with catlog, does anyone know what these lines mean ? :eek:

    ....

    I DEBUG : pid: 30527, tid: 30547, name: UnityMain >>> de.apps.testapp <<<

    12-23 17:28:48.213 23974 23974 I DEBUG : #03 pc 0029d648 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #04 pc 0029d744 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #05 pc 0029d7a0 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #06 pc 00115e40 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #07 pc 001160dc /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #08 pc 00116750 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #09 pc 00125294 /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.213 23974 23974 I DEBUG : #10 pc 000ea1dc /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.223 23974 23974 I DEBUG : #02 7934efc8 780b9c1c /mnt/asec/de.apps.testapp-1/lib/libmono.so

    12-23 17:28:48.223 23974 23974 I DEBUG : 7934efcc 77fc564c /mnt/asec/de.apps.testapp-1/lib/libmono.so


    ....

    I knew this isnt mutch information but maybe someone can help me with getting the android stuff working without crashing sometimes :)
     
  2. Tanatosx3

    Tanatosx3

    Joined:
    Oct 28, 2015
    Posts:
    10
    Okay i got a very usefull information after some testing:

    I created a dummy scene just with a button on it wich it loads my other scene and changed it to the starting scene.

    And it will always start, but when i klick on the button and load the other scene it will crash.

    So i know now that its not a APK thing, it has to do with some mystic thing in my scene but still i got no clue what it is, since i was stripping everything down in this scene but it still somehow crashes lol.

    This is so exausting and confusing issue >.>
     
  3. sheffieldlad

    sheffieldlad

    Joined:
    Oct 9, 2013
    Posts:
    154
    It would be useful if you could provide a log.

    Go to. A terminal window with your device connected and type:

    adb logcat -c
    adb logcat -s Unity >log.txt

    Star your device let the crash happen close the terminal window and upload the log.txt here.