Pixel-Space lines have inconsistent width in the Device Simulator view.

Avatar
  • updated
  • Not a bug

Lines appear patchy in the Device simulator view.  Not a huge issue, but it makes making promotional images of mobile games difficult. 

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Freya Holmér

What do you mean by patchy? do you have a screenshot?

Avatar
Mlekk

Here is a 1-pixel thick circle. 

I'm guessing it's because the simulator is scaling the output. Don't know if it's possible to avoid, but but if there is a workaround it'd be useful. 

Avatar
Freya Holmér
  • Not a bug

yeah, I don't think there's anything I can do about this unfortunately, as Shapes is likely doing the correct thing (pixel size on the target device), but then Unity scales it, which may not filter correctly

and if I did scale it, it wouldn't be representative of the device anymore