Search Unity

Multi Display: UI Button on Second display fails to get "TOUCH" Input

Discussion in 'UGUI & TextMesh Pro' started by fujiken2g, Sep 2, 2021.

  1. fujiken2g

    fujiken2g

    Joined:
    Aug 21, 2019
    Posts:
    2
    I am making two-displays app that multiple user can touch each monitor.
    I found that UI button on 2nd display does not receive "Touch" input until the finger moves.

    Project file is attached below
    (modified from this project)


    *Problems
    1. Button on 2nd monitor does not become pressed color if TOUCHED, but drag after touch or click can trigger the button.
    2. Button on 2nd monitor keeps pressed color if another button on Main display is pressed.

    *Hypothesis
    ・UI button works only when "mouse down" called
    ・2nd monitor cannot get touch event so mouse down is not called
    ・Mouse down is called if finger moves on 2nd monitor

    *Goals
    ・Make button pressed when TOUCHED on 2nd monitor
    ・Multiple user can touch UI elements on multi monitors

    Touch monitor itself works fine.
    Any help or advice would be much appreciated.


    Unity Version
    MacBook Pro (15-inch, 2018) Catalina
    Unity 2019.4.15f1 Personal

    Build Check
    Windows 10 Pro
    Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    RAM 32.0 GB
    NVIDIA Quadro P2000

    Left Monitor: Elo ET2202L
    Right Monitor: DELL P2418HT

     

    Attached Files:

  2. akshays2

    akshays2

    Joined:
    Apr 16, 2020
    Posts:
    2
    Did you find any solution for this? @fujiken2g
     
  3. ameenmohammad

    ameenmohammad

    Joined:
    Dec 28, 2022
    Posts:
    2
    any updates guys???
    this issue is killing me rn!
     
  4. ameenmohammad

    ameenmohammad

    Joined:
    Dec 28, 2022
    Posts:
    2
    did you find a solution?
     
  5. Cave2137

    Cave2137

    Joined:
    Jan 23, 2018
    Posts:
    14
    Did you find a solution?
     
  6. mchangxe

    mchangxe

    Joined:
    Jun 16, 2019
    Posts:
    69
  7. Cave2137

    Cave2137

    Joined:
    Jan 23, 2018
    Posts:
    14
    @mchangxe
    Hello, I attempted a workaround by placing all the elements on a single canvas and increasing the output size in the project settings.

    Don't forget to switch to windowed mode to ensure compatibility with all screens. If this method works for you, I can provide instructions on how to remove the window borders. I hope this solution is successful. Please share your feedback.