Problems with shadows in UE 5.0.3

I’m making a project in UE 5.0.3, and I’ve noticed that some shadows are just desapearing.
Some shadows sometimes appear, sometimes they don’t. And while I’m playing the game, they constantly desapear and appear.

This is what it looks like:


When I started making this project I was using UE 4.27, but then I switched the version to 5.0.3

-I’m using Virtual Shadow maps
-I’m not using Lumen
-All the lights are “Movable”

I have no idea what’s happening and there are no tutorials about it.

Anybody can help?

GUYS I DON’T NEED MORE HELP I HAVE ALREADY FIXED IT