How do I fix spiky shadows in UE5 Preview 2

Not sure if you still have this problem but I may have a fix for anyone still struggling with it.

If you have a post process volume in your scene, change the Exposure Metering Mode to ‘Auto Exposure Histogram’. Then change the Exposure Compensation to suit.