Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Screensaver is triggered while playing with a gamepad

Discussion in 'macOS' started by fabiopicchi, Sep 7, 2019.

  1. fabiopicchi

    fabiopicchi

    Joined:
    Jan 22, 2016
    Posts:
    22
    I am using a Dualshock 4 controller to play my game in the Standalone Player for macOS and the screen saver kicks in during gameplay.

    It seems that other people also have this problem:
    https://github.com/dolphin-emu/dolphin/pull/4524

    Is there a way to block the screen saver while my application has focus with the Unity API?