I had also the same problem when I wanted my objects or whatever to have a shadow.
So I have been going back and forth to check the material for the static light, check so the object and the light is casting shadows. But I also did follow this video:
And this video helped me a lot. Because after a while looking around and experiment myself forward, my objects started to have their shadows. So do check this video out and I do hope this was some sort of help for you