Set as startup project worked for me too, but not in UE5 inside the Engine folder, but in the file with the name of your project, under the Game folder.