Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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?
     
    wifitofu, BEBADBOI and SoonTofu like this.
  2. wifitofu

    wifitofu

    Joined:
    May 18, 2021
    Posts:
    6
    still nothin?