Generating Visual Studio files fails silently

I have a rather annoying issue where I cannot “Generate Visual Studio Project files” via the explorer context menu (Windows). It just fails without any error messages and without creating any files. However if I open the project through the Unreal Editor it says that the project has to be converted (?) and clicking “Convert in-place” actually does the trick: after that all the necessary project files are generated and the solution can be opened.

I am not sure how I screwed the setup. “Switch Unreal Engine version” or simple clicking on the uproject file works as expected. Is there any log file I can look into for more info on what is going wrong?

Thank you for your report.

I have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide.

Thank you,

Here is some additional info that might be helpful: (I believe system specs and dxdiag output is not relevant in this case)

Branch/Build: 4.2 QA (4.2.0-0+UE4)

General setup: both our game and engine are checked out from our internal Perforce repository. We had some problems with this setup initially because perforce sets everything to read only, but could solve them by manually checking away “read only” flag on the engine directory so the engine can change it’s files.

Hi ,

I have not been able to reproduce this issue. Is this happening to you on multiple projects, or just one? Are any other members of your team experiencing the same issue?

Hi ,

yes, other members of the team have the same problem so I suppose the problem is with our setup. Like I said, we use the 4.2 QA version which we check out from our repo. There is no other ue4 installation on the pc. After executing the UnrealVersionSelector.exe (from the Binaries folder) additional ue4 context menu entries are created (Launch Game, Generate Visual Studio Project files, …). Sadly “Generate Visual…” option fails without producing any files. Any it creates any log output that I can see?

Quick update: upgrading to 4.3 QA and running new UnrealEngineLauncher-Win64-Shipping.exe actually solved the issue. Not sure what was wrong with 4.2.

Hi ,

I am glad to hear that the issue has cleared up. Please let us know if you run into any more problems.