Render Custom Depth doesn't work

I’m trying to have things be seen through walls and I found this tutoral. UE4 - Tutorial - Render through Walls! - YouTube
I followed everything step by step but it doesn’t work. I can’t see the object through the wall.