I know that it’s possible to change the target engine version of a project via the launcher, or by right-clicking the .UProject file and selecting “Switch Unreal Engine version…” from the context menu.
Is there any way to call this functionality from the command line?
In case anybody was still wondering about this, after inspecting the code I see that there’s a switchversionsilent command which allows you to do this:
& 'C:\UnrealEngine-release\UnrealEngine-release\Engine\Binaries\Win64\UnrealVersionSelector.exe' /switchversionsilent 'D:\Unreal Projects\<Project>.uproject' 'C:\UnrealEngine-release\UnrealEngine-release'
3 Likes