My UE5 setup was working perfectly. Then I decided to install copilot. It said I needed to update Visual Studio. In a grand mistake I clicked that update button. For some reason Microsoft won’t let you choose a version with community edition. Now I’m stuck running the preview edition of visual studio 2022. Other errors forced me to start compiling the engine from this fork: https://github.com/DreamSworK/UnrealEngine/tree/a3e283c172166168f08acc007a01aa128cce10f5
Found here:
Error compiling the Automation Tool after updating Visual Studio today (Unreal 5.3.2) - #12 by Jithak