I found this forum thread: Unreal Engine 5 crashes on Start up - #2 by eonridr. It is originally from an Unreal Engine 5 issue, but a few comments into the thread state that the proposed fix works for 4.26 and 4.27. Here is the answer from user Varxon:
This error comes from a corrupted CachedAssetRegistry.bin file. Reinstalling it does not fix the file.
To fix this, you are going to want to go to file location C:\Users\username\AppData\Local\UnrealEngine\5.0\Intermediate - Locate the file named CachedAssetRegistry.bin and delete it. After deleting it, you should be able to launch
Obviously, just adjust the directory to match where this file will be located. I hope this works, and good luck
If another project opens with same engine version then probably the problem is with local CachedAssetRegistry.bin in your project.
SOLUTION: Delete the Intermediate folder then generate visual studio project.
Make sure there no error in your project’s source code otherwise it will not compile.
Thank you very much dude, I deleted the CachedAssetRegistry.bin from intermediate folder in my project and it worked, deleting it in C:/Users doesn’t work for me.