One of the reasons that a lot of studios struggle with bad performance on UE5, is because a lot of studios, fired their most experienced devs and hired bunch of cheaper new programmers, because they bought into the whole make game with blueprints idea. I have several friends (I know just one datapoint ), that were in games industry from 6 to 12 years that got fired, just for the studio to replace them with cheaper more inexperienced devs.
Baicly UE5 overpromised how easy it was. You still get some great working games that use UE5, but this are from studios that have experienced devs.