Failed to generate code project files

Note: I have Visual Studio 2013 Professional. I’ve launched projects from it and created C++ files directly from the editor. I’ve also refreshed the project from within the editor before.

So, this project is roughly 1 1/2 months old. This has worked previously, but as of late last week, when I click “Refresh Visual Studio Project”, the following happens:

When I click “Add Code To Project”…

After that, the object exists in the directory, but it is not added to the project.

The files can be manually added to the solution, and the program successfully compiles, so this isn’t a crippling bug. With that said, it is a hitch in the pipeline, and it causes a bit of confusion.

Hi ,

Would you be able to provide some more information about this issue?

  • What version of the Engine are you using, and is it the binary version installed by the Launcher or did you build it from source code?
  • When you try to refresh the Visual Studio project file from within the Editor, does the error message appear without making any changes to the project (immediately after opening the project), or do you have to make some changes first?
  • Do you see the error messages for class creation every time you try to create a new class? Does it only happen with certain parent classes (eg. Actor or PlayerController)?

Apologies for the sparse information.

#1:
Unreal Engine version 4.4.3

Visual Studio 2013 Professional version 12.0.21005.1

.NET Framework 4.5.50938 (I saw .NET mentioned in another post about a similar issue [albeit the error appearing at project creation], not sure if this is pertinent in this case)

#2:

Refreshing the Visual Studio project from within the Editor doesn’t do anything. I have to go into the project within Visual Studio and make any (and all) changes myself.

#3:

The picture above was a child of Info. At your request, I tested Controller, Pawn, Character, and None. I received the same error on all 4, and the files were created for all 4 within the Public/Private source folders.

Thanks for providing that information. Another thing that would be helpful is the log for the Editor itself. Could you please open your project and trigger the error message, then immediately close the Editor and send us the resulting log file? You can find that located at:

C:\Users\<your user name>\AppData\Local\UnrealEngine\4.4\Saved\Logs

You should see a UE4.log file there, and possibly one or more backups. UE4.log should be the most recent file, and is the one that we need.

Hi ,

We have not heard from you for a while regarding this issue. Are you still needing assistance with it? I will be marking this issue as resolved for tracking purposes, but please feel free to re-open it at any time if you still need help.