Random White Lines Appearing Unity - Canvas

Just wanted to put up this simple tip if you are experiencing random white lines but are not using tilemaps, and aren’t getting anywhere. I found this in another post which fixed it for me:
"Turning off gizmos by clicking “gizmos in the top-right corner of the game window in the editor seems to make the lines appearing being caused by Canvas in the game window disappear. Putting this for others who are googling and coming to this page. If you’ve added canvas to your 2d game and are seeing a line in the middle of your screen disable gizmos to hide the line.”
If you build the game, the white lines will also disappear but doing the above while you are edit your project will get rid of the white lines.

1 Like