Foliage not casting shadows

Hello there @Petrichora!

Welcome to UE! You have encountered an interesting conflict here, since your house is clearly casting shadows, yet the foliage is not. It reminds of a thread from a few months ago, with a similar scenario:

Following this background, we have a few solutions to test here:

  • First of all, test dragging one of your trees directly into the level, instead of using the Foliage Tool, just like in reference thread. If it has shadows, then we are in the right track.

  • Now, test if you are having the same interaction between Nanite and WPO. Open your tree static mesh, and confirm if Nanite is enabled. Then, open the tree’s material, and look if “Evaluate World Position Offset” is enabled. If this is the case, disable WPO, and check if the shadows appear. Otherwise, disable Nanite as well.

  • Next, we can play around with shadow distance values. Check the details on your directional lights, look for Dynamic Shadow Distance, and set it to 100.000.

  • Then, there’s the shadow method being used. Back to your lights, look for Shadow Map Method, and set it to Virtual Shadow Maps. You can also test this change from Edit > Project Settings > Engine > Rendering > Shadows