Distance To Nearest Surface Node not working, only returns 0. Need fix!

In recent versions, it seems you need to disable “Affect Dynamic Indirect Lighting” for this to work