cant GenerateProjectFiles
Do you have both UE4 and UE5, and built them from source?
I had the same error and found a solution.
- Copy UnrealVersionSelector.exe from “Epic Games\Launcher\Engine\Binaries\Win64” to “[UE4_DIR]\Engine\Binaries\Win64”.
- Run and click ‘Yes’ on prompt “Register this directory…”
- Copy UnrealVersionSelector.exe from “Epic Games\Launcher\Engine\Binaries\Win64” to “[UE5_DIR]\Engine\Binaries\Win64”.
- Run and click ‘Yes’ on prompt “Register this director…”
For future readers, if you don’t want to mess with copying executables from one directory to another, you can also generate project files from the editor, that seems to be working for me as well.
tomatorann’s solution worked for me even though I am pretty sure I dodn’t build UE5 from source and UE4 was already deleted. thanks so much!
Hi, the same issue happen for me after installing UE5. I went back to try and generate VS files for a UE4.27 project and the issue mentioned occurred.
For me, all I had to do was go back to the UnrealEngine-4.27 install location, and run the UnrealVersionSelector-Win64-Shipping.exe, and the issue was resolved. Hope this helps!
There is no need for all of that. Just run GenerateProjectFiles.bat in the source directory. It will create that tool.
It works for me! Thanks
I just had to run SourceVersionUE5/Engine/Binaries/Win64/UnrealVersionSelector-Win64-Shipping.exe in my case.
and it works. It registers.