How would I solve this? I want to be able to see the outline of my characters without setting everything to the same color as the outline

Hello , I am trying to create Outlines for my characters by following this guide http://www.michalorzelek.com/blog/tutorial-creating-outline-effect-around-objects/.
However when I set the Infinite Extent (Unbound) on the Post Processing Volume ,which is added into the level, set to true , I get this :


It shows the Outline on the mesh and it shows only the objects with Render CustomDepth Pass set to true.

This is how it looks with Unbound set to false.

.

The Material Functions :
MF_Convolve Texture:

MF_ExtraDepth:

MF_SampleSceneTexture:

OutlineCharacters :

You might have setup the shader in the incorrect way. Alternatively, the skybox is so far away so that the outline color is drawn as the entire background due to the lack of depth. You can create a fog effect to fade out the background and prevent the effect you are seeing from taking place. Tweaking your parameters or implementing an effect like this one would resolve your issue: Elias Wick | Fog