Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X

Votes

4

Found in

2020.2.0b9

2020.3

2020.3.6f1

Issue ID

1333953

Regression

Yes

IMGUI button presses don't get registered while in a Device Simulator

Mobile

-

How to reproduce:
1. Open the attached "1333953.zip" project
2. Open the "Test" Scene
3. Enter the Play Mode
4. Change from Game View to Device Simulator
5. Press the "IMGUI Scale" button in the Device Simulator

Expected result: The application scale is changed
Actual result: The application scale stays the same

Reproducible with: 2020.2.0b9, 2020.3.3f1 (Device Simulator - 2.2.4-preview, Input System - 1.0.2)
Not reproducible with: 2019.4.26f1, 2020.2.0b8 (Device Simulator - 2.2.4-preview, Input System - 1.0.2)
Could not test with: 2018.4.35f1, 2021.1.8f1, 2021.2.0a17 (Device Simulator Not available), 2021.1.0a9 (Device Simulator throws errors)

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a13

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b16

  3. Resolution Note (fix version 2020.3):

    Fixed in Device Simulator 3.0.3-preview

  4. Resolution Note:

    Fixed in 2021.1.28f1

Comments (1)

  1. GarvitGupta

    Jun 07, 2021 17:57

    Not able to click UI.Button with Mouse left click in new input system (Version-1.0.2) (Unity 2021.1.9f1)

    I have EventSystem is added to scene with InputSystemUIInputModule.cs attached to it

    When I build and Run the application to my android device, its working fine.Also It is working fine in Game Window

    I am not sure what I am doing wrong, Any suggestion?

    Please watch this video, showing the issue
    Issue details with video: https://forum.unity.com/threads/not-able-to-click-ui-button-with-mouse-left-click-in-new-input-system-unity-2021-1-9f1.1118587/

    Note: It is working fine for me in Unity 2020.3.10f1 version (Device Simulator 2.2.4-Preview and Input System-1.0.2)

    Step to reproduce:

    1. Create a empty URP project in Unity 2021.1.9f1
    2. Import New Input System Mobile Demo samples
    3. Switch the platform to Android
    4. Open Menu Scene
    5. Switch to Device simulator
    6. Click on Play button

    Current: Not Able to click UI.Botton
    Expected: Should be able to click on UI.Button

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.