Search Unity

SleepTimeout.NeverSleep not working

Discussion in 'PSM' started by OneSimpleGame, Aug 1, 2014.

  1. OneSimpleGame

    OneSimpleGame

    Joined:
    Jul 25, 2014
    Posts:
    5
    Hi all!

    My game uses accelerometer input during 2-3 minutes period, and i notice the Screen.sleepTimeout=SleepTimeOut.NeverSleep is not working.
    Could this be a bug? (im using the hotfix version released a few days ago).
     
  2. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    Same with me... but I think it's just a Vita thing, when I was playing Walking Dead it seemed to do it as well.
     
  3. PeterD

    PeterD

    Joined:
    Feb 6, 2013
    Posts:
    120
    It's not a bug. The vita sleep is determined by the users settings for the device and as far as I know isn't overridable. Your game should pause when the sleep kicks in. This is what all commercial vita games do.