Wrong paths when I trying to generate Visual studio project files

I created a simple C++ test project in UE5 … Then when I try to generate Visual studio project files (right clik on the uproject file) I get fails with error messages which indicate wtrong paths, and elements not found.

Running E:/Epic Games/UE_5.0EA/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“E:/Epic Games/Projets/test_UE5/test_UE5.uproject” -game -rocket -progress -log=“E:\Epic Games\Projets\test_UE5/Saved/Logs/UnrealVersionSelector-2021.06.03-11.15.50.log”
ERROR: Unhandled exception: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘E:\Epic Games\Engine\Source’.
at System.Environment.set_CurrentDirectoryCore(String value)
at System.Environment.set_CurrentDirectory(String value)
at System.IO.Directory.SetCurrentDirectory(String path)
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 467

I must add that My uneral engine files are not on the system disk (C:), but on another (E:)

Could you please tell me what is wrong ?

1 Like

Not sure 100% but sounds like this is a missing registry key, check that log out and see what it says