Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Multi screen screen 2 buttons presses are mapped to screen 1

Discussion in 'UGUI & TextMesh Pro' started by knobby67, Mar 20, 2024.

  1. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    393
    Hi,
    I'm using two screens both have buttons. They work fine in editor. However in build screen 2 does not detect screen 2 buttons being pressed. However if I click the location of screen 2 buttons on screen 1 then the button action occurs. So in build screen 2 events are mapped on top of screen 1. I've tried with a single general eventsystem, then created two event systems and made them children of their canvas. But I get the same outcome. I've also tried making eventsystem screen2 first selected be connected to button list screen 2, but this made no difference. Can anyone advise how I can get buttons on two screens working.

    I'm using unity 2021.3.1f1 on Linux Mint.