You can tweak the Engine.ini in localappdata either look up how optimise a UE5 through the Engine.ini or ask ChatGPT. I made the game both look better and perform better at the same time through tweaks."Upgrading" this game to UE5 was the worst idea, the optimization is worse than my self-esteem.