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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug VirtualMouse click doesn't work when using Canvas Scaler "Scale With Screen Size"

Discussion in 'Input System' started by MollySpryFox, Jul 29, 2020.

  1. MollySpryFox

    MollySpryFox

    Joined:
    May 4, 2020
    Posts:
    11
    I'm attempting to set up a virtual cursor driven by a gamepad and am not getting button clicks.
    I have a simple repro for this using the GamepadMouseCursor Example project.

    1. Set the cursor to "Software Cursor"
    2. Change the canvas scaler from "Constant pixel size" to "Scale with Screen Size"

    It appears Button click events no longer are delivered sent. Clicks are sent to another position even though cursor position appears to render correctly.

    Has anyone seen or found a workaround for this behavior?
     
    BEBADBOI and SoonTofu like this.