Issues attempting to enable RenderCustomDepthPass on CableComponent

I am trying to render the cable through the customdepth pass as it for some reason does not do so already despite having the RenderDepthPass bool in editor.

Following the [fix by @homembarata here][1] where they suggest the following:

On CableComponent.cpp I just added:

Result.bRenderCustomDepth = ShouldRenderCustomDepth();

to the GetViewRelevance function on the FCableSceneProxy class. I don’t know the exact line cause I’ve been changing some stuff on the CableComponent class and it’s likely that it won’t be the same to you.

I have attempted to add the same code in that location and it does not seem to work after compiling

any help would be much appreciated