Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

B22 - Editor Eating ALT Key?

Discussion in '5.4 Beta' started by DrHeinous, Jun 21, 2016.

  1. DrHeinous

    DrHeinous

    Joined:
    Jun 25, 2013
    Posts:
    19
    So I just upgraded to B22. It now seems that the editor eats any combination of keys with ALT down. The following will never print ALT. Rather than hand/eye icon at the top left of the editor (pan/translate/rotate/scale toolbar) switches. Is anyone else experiencing this?

    Code (CSharp):
    1.  
    2. void Update()
    3.         {
    4.         //for keyboard, arrow keys plus ALT.
    5.         if (Input.GetKeyUp(KeyCode.LeftArrow) || Input.GetKeyUp(KeyCode.RightArrow))
    6.             {
    7.  
    8.             Debug.Log("Arrow");
    9.  
    10.             if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightAlt))
    11.                 {
    12.                 //Does not work. Alt in combination with anything never happens.
    13.                 Debug.Log("Alt");
    14.                 }
    15.             }
    16.         }
    17.  
     
  2. shawn

    shawn

    Unity Technologies

    Joined:
    Aug 4, 2007
    Posts:
    552
    Sounds bad. Bug report with minimal reproducible project would be appreciated.
     
  3. ShantiGaudreault

    ShantiGaudreault

    Joined:
    Aug 17, 2015
    Posts:
    9
    This issue is fixed and undergoing QA before going into next Beta.
    Cheers
    Shanti
    Editor Montreal
     
  4. DrHeinous

    DrHeinous

    Joined:
    Jun 25, 2013
    Posts:
    19
    Great, thanks for the quick response. I was just about to upload a repro, but I guess no reason to now.
     
  5. ShantiGaudreault

    ShantiGaudreault

    Joined:
    Aug 17, 2015
    Posts:
    9
    Nope. Thanks for bringing it up!
    Shanti