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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

UI Touch Probelm

Discussion in 'Scripting' started by ofltunisia, Oct 16, 2015.

  1. ofltunisia

    ofltunisia

    Joined:
    Sep 25, 2014
    Posts:
    16
    Hello ,
    i am building a game for windows phone and android ,and it is basically composed of canvas and UI elements ,
    i am having a problem with unity UI elements more precisely with touches after building and testing on my device , the Touch works but the position of the touch is a little bit off .
    example : i have to place my finger a little bit under the button in order for it to Work , i made a lot of research on google and in forums , but i couldn't find anything slightly related to my problem . I didn't code any touch input script , i just relayed on the eventSystem scripts.

    Note :All my canvas have panels , EventSystem and the Allow Activation on Mobile Devises is checked.

    if anyone have this problem please check here for future references.
     
  2. Sun-Dog

    Sun-Dog

    Joined:
    Mar 23, 2009
    Posts:
    144
    Could you test this by deploying a line of code that instantiates a "dot" under your finger? And see if it's where you expect it to be?
     
  3. ofltunisia

    ofltunisia

    Joined:
    Sep 25, 2014
    Posts:
    16
    i activated the show visual feedback for touches in developer options on my device and it confirmed my problem , the touch is under the button for it to work :/
     
  4. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    If you think you can reproduce a problem, can you please submit a bug report with a sample project, detailed description of the problem and what you're seeing. Include any notes, screenshots, etc.

    When you get the bug report number, you can PM it to me, and I'll see if I can get any traction, but no promises.