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. Dismiss Notice

Weird bug with Android (slow down)

Discussion in 'Editor & General Support' started by valtedev, Jul 1, 2016.

  1. valtedev

    valtedev

    Joined:
    Oct 16, 2013
    Posts:
    11
    Hi every one.
    One week ago I have found weird bug. When I am "build & run" on Android, I see good performance and fps.
    When I plug out usb cord, application's performance low down. Very low down (in 2 times). When connect cord again, app returning to normal performance and profiler show good graphs.

    I never see this before. (Using Unity3d since 2012 year)

    What's going on? Unity's version 5.3.5

    Thanks for your attention.
     
  2. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,422
    Power saving mode?
     
  3. valtedev

    valtedev

    Joined:
    Oct 16, 2013
    Posts:
    11
    I found. If turn off power saving mode and everything becomes good.
     
    Last edited: Jul 1, 2016
  4. valtedev

    valtedev

    Joined:
    Oct 16, 2013
    Posts:
    11
    Yes) Thanks.

    What can I do with this? (Using some scripts, api?)
     
  5. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,422
    As far as I know there is nothing you can do about it. I'd be very happy to be wrong though.

    To complicate things different devices do power saving very differently so if you found a magic trick that works on one device it's unlikely to work on others.

    One thing you could do it detect low FPS and warn your players to turn off power saving to improve.
     
  6. valtedev

    valtedev

    Joined:
    Oct 16, 2013
    Posts:
    11
    I understand.
    Thanks a lot.