I had this problem with this project in UE 5.0.3. Now I am on UE 5.1.0. I opened a copy. Same issue in both versions of UE. I get the shadow when I’m turning away from the sun, but it disappears when I turn toward the sun.