Ok it seems like I fixed the problem by installing the rest of the required components in Visual Studio 2022. At least I can build my game project now without errors. Haven’t tried to rebuild the whole engine because that’s still working for me since the last time I build it with VS2022. I installed the components explained in this video (link includes timecode): How to Setup Visual Studio 2022 for Unreal Engine - YouTube