Check this answer UE4 build error - #8 by anonymous_user_9fb1f277
In my build logs, there were error/failed references to ResonanceAudio LNK1169: one or more multiply defined symbols found
Deleting the folder (check the answer) and building UE5 solved my build issue and now I can run UE5
Visual Studio 2022
Building the branch oculus-5.3 https://github.com/Oculus-VR/UnrealEngine