Setting up Visual Studio 2022 for UE5.
Download:
After you have installed Unreal Engine 5, you can go to Microsoft's site at https://visualstudio.microsoft.com/vs/ to download the programming editor to use with UE5 and C++ programming. At the time of this writing, I chose Visual Studio Community 2022. Note: There's no reason why I chose VS2022 over other editors except that I've always used the Microsoft's VS Editors. It works.
Installing:
Run the Visual Studio Installer. You need to customize the install for Unreal Engine 5 by selecting these three workloads under the Workloads tab:
- .NET desktop development
- Desktop development with C++
- Game development with C++
Also under the right hand side window pane, make sure this is checked:
- Unreal Engine Installer
Under the Individual components tab, make sure this is also selected:
- NET Core 3.1 runtime (LTS)
Then select the Install button on the bottom right. Note: This may require a computer restart afterwards.
Unreal Engine Settings:
Under Edit->Edit Prefererances, under General->Source Code, The parameter 'Source Code editer' should have Visual Studio 2022 selected in the drop down box.
