Hello. As a part of automation process for a team I want to set engine version for *.uproject. For example, when I right click on my file I can choose from menu an option to switch engine version. How can I do it with command line?
Found the answer. For switching version I need to run UnrealVersionSelector.exe with two parameters - /switchversion and path to uproject file.
Well, I’ve mistaken - this is not working, so question is still open.
When I use command line I have an error
If I use context menu then everything fine.
I know this is a very old post but I’ve found a solution for full automation.
You just need to use
One minus of this approach is that if you want to use it in a batch file then you need to add delay if any other functions will be running after that one because it exits right after execution and not after generating files has been finished.
But if you use Python them Subprocess.popen and .communicate() works like a charm.