You should try changing the UE version to a lower one (5.2, for example). If this doesn't work, delete the Binaries, Saved and Intermediate folders from your project folder and try again. Let me know if this works!