Currently, there is no parameter to allow users to render custom depth on foliage actors.
Set parameter to allow users to choose to render custom depth on foliage actors.
Open Foliage tool
Add a staticmesh
Note that there is no way to enable custom depth
Change to Custom Depth visualization mode in the editor viewport and note the foliage does not appear in the Custom Depth pass.
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-6061 in the post.