Directional light's dynamic shadows don't work

It was the scalability setting I can’t believe I didn’t think of that, and none of my tutors and peers thought of it either. Thank you so much, you made my day!!!