Search Unity

Bug Different screen scaling setting leads to flickering

Discussion in 'UI Toolkit' started by norgalyn, Nov 22, 2020.

  1. norgalyn

    norgalyn

    Joined:
    Feb 15, 2014
    Posts:
    8
    Setup:
    Two screens with different window scaling setting (150% on 4k and 100% 2k). Builder on one screen and game view on the other. Enabling preview or entering play mode leads to more flickering.

    Observing:
    Hovering over elements in builder changes scaling in game view. This leads to flickering as the game view is repainted with the correct scaling the next frame.

    Reason:
    Repaint uses scaling from window that fired repaint event?

    I can create a video if needed.
     
  2. griendeau_unity

    griendeau_unity

    Unity Technologies

    Joined:
    Aug 25, 2020
    Posts:
    248
    Hi, yes I think it would be best if you fill a bug with the video please. Thanks!
     
  3. norgalyn

    norgalyn

    Joined:
    Feb 15, 2014
    Posts:
    8
    I created a new HDRP project, new scene a simple UI document with just a 100x100px box. This is using builder preview9 and toolkit preview12. It's a very minor issue as it's a somewhat obscure setup, but it does make work a bit more difficult. Hope this video helps showing the issue.