I have a Canvas with a CanvasScaler set to “Scale with ScreenSize” and the match mode set to “Match Width or Height” with 0.5 Match
In a panel, i have a separator line, for which i used a one-pixle image and set the size to
width:300
height:1
i want the game to run on all possible screen resolutions, but when i resize the game window the separator line starts to vanish and reappear, depending on what aspect ratio the game window uses.
And its not some editor bug i think, because when i build and run the game, the line shows at a resolution of 1920x1080 but not at some lower resolutions, e.g. 720x576 and lower
Is there a way to fix this?
Or is there maybe a way to improve my separator line, getting rid of the 1px height image?
I added some screenshots + what the end result should look like with those separator lines
Thanks a lot in advance
Flokicker



