How to fix sharp shadows on the mesh

Non of those were work for me but I found the problem. I was the ShadowMaps Method that was set to Virtual Shadow Maps.
Now I have another problem like those edges


I check those in Maya but I don’t see this issue there only in UE