Issue with GUI Gap

Hello, I’m having an issue with a canvas not covering the entire screen in 5.6.1p4. There is a small gap around the the outside of the panel that reveals the content beneath it.


It’s only a pixel or two wide, but it can be very noticeable if the background is colorful. It’s present at every resolution in editor and in the build. The canvas is set to screen overlay, also with scale with screen size. This problem is appearing on other canvases as well, some of which are camera overlay instead of screen overlay.

Any idea what could be causing this or do I have to settle with setting every anchor to -0.01 or 1.01?

With help from iwaldrop’s comment, I discovered that the gap was due to Unity’s default sprites (particularly “Background”) having a gap around the outside. Removing the sprite from the Image component also closed the gap.