Weird breaking of shapes in game view

Avatar
  • updated
  • Unity's Fault

Lines, polylines, rectangles, rings (and possibly others) break in a wierd way in game view around zero Y relative to camera (see the screenshot). Doesn't happen in the scene view nor in build. Curiously it appears on one of my screens and does not on the other one. The one at which the shapes appear to be broken is 144hz, the other one is 60hz. I tried differed VSync modes and limiting the framerate, but it didn't change anything. Not the most dire of issues, since it doesn't happen in build, but!

Image 94

Reporting a bug? please specify Unity version:
2019.4.8f1
Reporting a bug? please specify Shapes version:
2.3.0
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is very likely a unity issue - shapes doesn't take account some special property of y=0 or center of screen, so this is likely not something I can do anything about I'm afraid

Avatar
Freya Holmér creator
  • Under Review

do you have any DPI scaling on those monitors, or is the game view otherwise scaled somehow?

Avatar

Yep, the toblesom one uses DPI scaling, because it's a laptop. The problem disappears if I disable scaling.

Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is very likely a unity issue - shapes doesn't take account some special property of y=0 or center of screen, so this is likely not something I can do anything about I'm afraid