Light Shining Through Terrain and Onto Foliage

This problem is only occuring with foliage, The lighting is shining through to terrain and only on foliage, everything else is working.

Before you ask, yes I did enable two sided shadowing in the terrain and my directional light is set to movable.
Please explain to me why this is happening.

244438-a.png

244439-b.png

244440-c.png

Am I just screwed? This post isn’t getting any views, so I should just give up with this engine if it has stupid lighting bugs that can’t be fixed, like this one.

What I have done to fix this, is turn off the “sun” light when it dips below the horizon. Or at least set it’s intensity to zero. You can use a timeline for this so it’s smoother by making a curve and setting it’s intensity to zero over time. I have that functionality in my level blueprint as all of my time of day settings are in there.

EDIT: I’m not sure exactly why this happens on a technical level, but I’m guessing it’s the way foliage is lit, and the fact that a little bit of the foliage is sticking underneath the surface exposing it to the light.