Search Unity

Apple Pencil (Stylus) input problems with scrolling Unity 5.3.X

Discussion in 'iOS and tvOS' started by SwabbyNat74, Apr 13, 2016.

  1. SwabbyNat74

    SwabbyNat74

    Joined:
    Oct 27, 2014
    Posts:
    17
    Running into a weird problem with touch input from a stylus using Scrolling UI inside Unity.

    I've traced the problem down to Stylus input, and Scroll windows.

    When using the Apple Pencil, and Unity's new Event system, regular buttons seem to work fine for navigating/getting the "touch" events to select buttons, however, if i throw a scrollrect into he equation and make a scrollable window with items inside, the drag works perfect, but when trying to select a button, it can sometimes takes 3-5 clicks to get a selection to pass through.

    I'm not sure if its iOS, as iOS double samples the Stylus input at 240Hz, effectively doubling the number of inputs tracked, and its seeing slight "movement" from the tip, or if its because theres a bug in the Unity code with the newly supported Apple Pencil.

    I could really use some help though, as its maddening trying to get what should just work, working. Btw, finger input works as expected, so its definitely narrowed down to the Stylus itself.
     
  2. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Please submit a bugreport.
    Thanks!
     
  3. SwabbyNat74

    SwabbyNat74

    Joined:
    Oct 27, 2014
    Posts:
    17
    I wasn't sure if it was a bug, or something i was doing incorrectly...

    I will submit a bug report now though, thanks!
     
  4. moos_unity

    moos_unity

    Joined:
    Mar 12, 2019
    Posts:
    5
    Was this ever resolved? Having the same issue.