Search Unity

Linux/Unity Touchscreen

Discussion in 'Linux' started by zammle2009wtf, May 26, 2021.

  1. zammle2009wtf

    zammle2009wtf

    Joined:
    May 30, 2018
    Posts:
    5
    Linux touchscreen does not work properly on Unity.
    My Ubuntu version is 20.04.1 LTS.
    My Unity version is 2021 1.7f1

    Unity sliders don't work at all with touchscreen.

    There was an issue tracker:
    https://issuetracker.unity3d.com/is...00.1763944374.1621964602-623163321.1614874388

    saying these issues were fixed when they're not.

    Any help would be greatly appreciated.


    EDIT:

    Unity Slider do in fact work for Unity builds on Linux when using touchscreen.
    However, for some reason I need to click buttons or anything UI related 2 inches down to the left for me to click or move the slider.


    Attached is a picture.
    Blue is where the Button is.
    Red is where I need to click on the screen to activate the button.

    This is the same for sliders.
    Sorry for the terrible drawing, I'm not an artist.

    It's like this for scenes!

     
    Last edited: May 26, 2021
  2. zammle2009wtf

    zammle2009wtf

    Joined:
    May 30, 2018
    Posts:
    5
    I found the issue.
    The resolution for the Unity game was not matching the Display resolution.

    After changing the resolution,
    I had to readjust the size of a few objects.
    Everything works now.