Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Launch timeout has expired, giving up wake lock

Discussion in 'Android' started by Bestlis, Nov 17, 2015.

  1. Bestlis

    Bestlis

    Joined:
    Jan 15, 2014
    Posts:
    27
    I get freeze application while start up.
    It works fine, when first launch, but the second freeze app.

    There is two file in attachment with first and second launch.

    Can anybody help me?
    Thanks!
     

    Attached Files:

  2. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    524
    It looks like a problem with one of your plugins. Judging from the second log Unity doesn't even get initialized. Check the initialization code of AppsFlyer maybe there is something in there that will give you a clue as to what is going on.
     
  3. Bestlis

    Bestlis

    Joined:
    Jan 15, 2014
    Posts:
    27
    Thanks for reply!
    The reason was in other place.
    In my script I did some actions in OnDestroy().
    When I removed OnDestroy, everyting works fine.
     
  4. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    524
    Ah, so it was probably the shutdown that never took place so when you relaunched the app you would go back to the old application still trying to shutdown. Yeah, that makes sense

    Glad it all worked out!