The common method for doing an occluded outline material involves comparing SceneDepth and CustomDepth in a post process material. Unfortunately, this method doesn’t work once you enable the forward renderer and use MSAA. More unfortunately, the issue has been flagged as “won’t fix.” The UE4 editor’s outline material still works so I believe there’s a solution out there somewhere.
Is there another solution that could work instead?