Search Unity

WebGL and touchscreens

Discussion in 'Web' started by DoucettejIBM, Apr 7, 2015.

  1. DoucettejIBM

    DoucettejIBM

    Joined:
    Oct 25, 2013
    Posts:
    8
    Has anyone done any work with webgl and touch screens, we are having some issues. Specifically a single touch registered as a mouse click on press will not update the mouse positioning or touch positioning.. you need to click/touch and drag for the position to update.

    As well when using the ui buttons to toggle fullscreen/non full screen, the full screen when clicked needs a second click anywhere in the app to actually trigger.

    Any help on this would be amazing...

    cheers,
    Jason
     
  2. Peter-HappyVolcano

    Peter-HappyVolcano

    Joined:
    Dec 7, 2013
    Posts:
    2
    I'm having the exact same problem now, IN THE FUTURE! :)
    In my case, you need to drag to rotate the camera around an object. Works great with mouse and even touch on mobile builds, but not in a webgl build on a touch enabled tv screen.

    Did you eventually solve it yourself?
     
  3. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Geekforlife likes this.
  4. fleischverpackung

    fleischverpackung

    Joined:
    Feb 23, 2016
    Posts:
    18
    is this fixed now? can u confirm?
     
  5. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    We fixed this internally but the fix is not available in a released version yet.
     
    Geekforlife likes this.
  6. damonhill

    damonhill

    Joined:
    Jan 21, 2019
    Posts:
    2
    Hi, could you please confirm if the fix is already available in officially released version? We are currently experiencing the same issue on desktop with touch support and portable touchscreen devices (iPhone, iPad, etc.)
     
  7. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Should be. What version are you using? Try latest.
     
    Geekforlife likes this.
  8. damonhill

    damonhill

    Joined:
    Jan 21, 2019
    Posts:
    2
    We are currently using Unity2017. Which is the latest version that should provide the bug fix?
     
  9. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Was fixed in 2017.4.12
     
    Geekforlife likes this.
  10. kazdarlli

    kazdarlli

    Joined:
    Nov 16, 2015
    Posts:
    1
    i have same problem and i use 2018.2.14f1
     
  11. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    18.2 is not a supported Unity version anymore. Please upgrade to the latest 2018.4 which should have the fix.