Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UI input detected on one PC but not the other?

Discussion in 'Input System' started by GarbDev, Feb 9, 2021.

  1. GarbDev

    GarbDev

    Joined:
    May 1, 2016
    Posts:
    10
    I have a game where I need certain canvases to respond to input events (i.e. toggling the pause menu with the spacebar). I have generated a default Input Action Asset with Player and UI action maps, and have attached Player Input components to my player object and my canvases. The Player Input components have been linked to my scripts through Unity Events. Everything is working fine on one computer, but the other can't detect any input through the UI action map. This occurs both in-editor and in builds. Both computers are desktops with a USB keyboard and mouse used for input. I've attached my current setup for reference. What's causing this to happen?

    Input Action Asset:
    upload_2021-2-9_11-25-49.png

    Player:
    upload_2021-2-9_11-25-7.png

    PauseCanvas (other canvases are set up similarly):
    upload_2021-2-9_11-24-5.png

    EventSystem:
    upload_2021-2-9_11-22-43.png