Search Unity

System Back button on Windows 10 doesn't work?

Discussion in 'Windows' started by DominoOne, Sep 16, 2015.

  1. DominoOne

    DominoOne

    Joined:
    Apr 22, 2010
    Posts:
    433
    Hi,

    It seems that on Windows 10 Mobile the hardware Back button works (when using UnityEngine.Input.GetKeyUp(KeyCode.Escape)), but on Desktop the system Back button doesn't. Just to clarify: there are two ways to "enable" the system Back button on Desktop
    1. Enable Tablet Mode in Windows 10 system settings (the Back button appears here: https://i-msdn.sec.s-msft.com/dynimg/IC819480.png).
    2. Enable the title bar Back button in the app itself (the Back button appears here: https://i-msdn.sec.s-msft.com/dynimg/IC794064.png).

    I think both of them use the SystemNavigationManager.GetForCurrentView().BackRequested action. Is it possible that Unity doesn't assign it?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,905
    Quite possible, it looks like a new Windows 10 thing, could you please submit a bug regarding this. Thank you!
     
  3. DominoOne

    DominoOne

    Joined:
    Apr 22, 2010
    Posts:
    433
    Do you need a reproduction project for this or just an explanation how to reproduce it?
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,905
    Both please, the more info provided - the better the chances this is fixed :)
     
  5. DominoOne

    DominoOne

    Joined:
    Apr 22, 2010
    Posts:
    433
    Sorry for the delay, but we finally submitted it. Here is the case number: 729551.