Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Touch Controls not working on Galaxy Note 9

Discussion in 'Input System' started by TheRedFlash, Jun 2, 2020.

  1. TheRedFlash

    TheRedFlash

    Joined:
    Mar 7, 2018
    Posts:
    6
    I'm currently working on a mobile game for a school project but when I have tried to use the input system touch controls I ran into an error. First off, the Input System doesn't work with Unity Remote which is another problem but, when I built the project with a function to show where the press on the screen took place it was never called while running on the phone.

    I know it works because I can use the Touch Simulation script provided by the InputSystem package and it works as intended.

    Here is my current code.

    Code (CSharp):
    1. void OnTouchscreen(InputValue inputValue)
    2.     {
    3.         text.text = "Position on screen = " + inputValue.Get<Vector2>();
    4.         Debug.Log("Screen Touched   Position: " +inputValue.ToString());
    5.     }
     
    MrBIoBR and qball13z like this.
  2. davemeta

    davemeta

    Joined:
    Jul 17, 2012
    Posts:
    17
    Any Galaxy Note on Android 10 has the same issue.

    "Fix" for now is use the old input system.

    +1 please fix.