Search Unity

Mouse update frequency on UWP

Discussion in 'Windows' started by euspensky, Jun 17, 2019.

  1. euspensky

    euspensky

    Joined:
    May 25, 2018
    Posts:
    4
    Hello.
    When I build our game for UWP platform, with Unity 2019.1.4, I am getting strange mouse behaivour.
    Game runs with ~100fps, but mouse coordinates (I am reading them from
    Input.mousePosition) update only a few times per second, resulting in nasty effects when player tries dragging something with mouse. Is there a way to speed it up?

    I have tried setting reducing fixedUpdate with no effect, and I have tried "experimental input" thingie (it did not work at all)

    Did anybody have same problem?
    Thanks.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Can you show the code you're using? That seems very weird.