Search Unity

Unity stutters and hitches in empty scenes when moving a high polling rate mouse.

Discussion in 'Input System' started by cwbeta, Jun 28, 2022.

  1. cwbeta

    cwbeta

    Joined:
    Jan 12, 2017
    Posts:
    32
    The problem occurs in Unity 2018 and is still not fixed in Unity 2021.3.5f1.
    I'm running an empty scene and I just move my mouse rapidly and the profier shows high hitches.
    I'm using Logitech GPW2 and the higher the pooling rate is, the higher the hitches go.
    The Unity version of the screen record is Unity 2021.3.5f1:


    I found three issues on this topic and there are other devices which have the same issue.
    However, two of them are marked as FIXED, which makes me quite confused:
    https://issuetracker.unity3d.com/is...ing-mouse-with-high-polling-rate-in-play-mode
    https://issuetracker.unity3d.com/issues/input-polling-rates-drastically-decreases-editor-performance

    The other isue which is still open:
    https://issuetracker.unity3d.com/issues/high-polling-rate-mice-are-causing-performance-issues
     
    Last edited: Jun 28, 2022
  2. cwbeta

    cwbeta

    Joined:
    Jan 12, 2017
    Posts:
    32
    The editor is almost unusable. Anyone can give an answer? Thank you!
     
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    I'll move this to input forum.
     
  4. dmytro_at_unity

    dmytro_at_unity

    Unity Technologies

    Joined:
    Feb 12, 2021
    Posts:
    212
    Can you please try with a built player? I fixed issues related to that in player code, and we were fixing editor UI performance issues separately, though I think editor is still might be impacted by high refresh rate mice.
     
  5. cwbeta

    cwbeta

    Joined:
    Jan 12, 2017
    Posts:
    32
    Yes, this issue only occurs in the editor. Everything works right in a built player.
     
  6. stephc-int13

    stephc-int13

    Joined:
    Oct 21, 2017
    Posts:
    4
    Good to know that it was fixed somewhere, I guess this is fixed in the latest version? Any hope of seeing this fix in 2021 LTS?