I was able to find a fix that worked for me:
- Create a temporary blank project in the same folder where your UE5 Projects are present.
- Open up the project.
- Close UE5 and Delete the temporary Blank project.
- Re-open UE5 and everything works.
Hope this helps