Can't upgrade to 4.13 from 4.12. Getting the following message:

I’m trying to upgrade my project and I’m not sure what the message means and what I should do. I’m guessing I just need to erase a file, but I’m not sure which one. Any help would be appreciated.

Project files could not be generated. Log output:

Running G:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="G:/data/Game development/Unreal/Planes 4.13/Planes.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
UnrealBuildTool Exception: ERROR: Not expecting project G:\data\Game development\Unreal\Planes 4.13\Intermediate\ProjectFiles\Planes.vcxproj to already have a target rules of with configuration name Game (PlanesTarget) while trying to add: StrategyGameTarget

Thanks,

Hey Lord Caine-

Are the engine versions being used binary or source? If you’re using binary engines from the launcher, please try to verify the engine from the version drop-down menu in the Library tab before upgrading the project.

If you’re using a source engine, please try to delete the Intermediate folder from the engine’s install location. Once you do that you can run GenerateProjectFiles.bat again to generate a fresh copy of the folder. After that is done you can try to upgrade the project again.

Cheers

Hi ,

Thank you very much for answering me!!!

I’m taking the default so I assume that is a binary engine. I just ran the verify (I didn’t know you could do that!!!) and it didn’t post any errors.

I don’t have time this morning, but tomorrow I will run the verify again and then run an upgrade right after it and see what happens.

Thanks again!

Is your project a blueprint or a code project? If it is a code project, please open the .sln and attempt to compile the code directly in Visual Studio. If there is a compile problem causing the issue, this should indicate what the problem is and give insight into how to fix it. Additionally, you can delete the Intermediate folder from the project directory. There appears to be a file conflict in this folder and reopening the project will recreate a fresh instance of this folder.

Hi ,

I verified 4.13.2 first and then rebooted and then launched 4.13.2 selected my project and got the same thing.

What should I try next?

Thanks,

Hi ,

I do have C++ code, but my project is 99% blueprint, but I’m sure this is the root of the problem.

I removed the intermediate folder and tried to open the project under 4.13 and that failed too.

Next I removed the intermediate folder, brought it up under 4.12, compiled the c++ code under there. I am getting these errors and I have no idea where they are coming from since this is not code that I’ve written:

CompilerResultsLog:Error: Error G:\data\Game development\Unreal\Planes 4.12\Source\Planes\UStrategyGameBlueprintLibrary.cpp(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
CompilerResultsLog:Error: Error G:\data\Game development\Unreal\Planes 4.12\Source\Planes\UStrategyGameBlueprintLibrary.cpp(24) : error C2144: syntax error: ‘bool’ should be preceded by ‘;’
CompilerResultsLog:Error: Error G:\data\Game development\Unreal\Planes 4.12\Source\Planes\UStrategyGameBlueprintLibrary.cpp(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
CompilerResultsLog: Info BaseCharacter.cpp

Regards,

Hey Lord Caine-

I happen to run into the error message you mentioned due to a Server.Target.cs file that was incorrectly named. Is the project with this issue setup to run a dedicated server? Can you provide a screenshot of your Source folder as well as Target.cs files?

Hi ,

Thank you so much for giving me the direction I needed to figure this out.

I had migrated some assets from the strategy game demo and that copied in a bunch of source code that was screwing up my compiles. I’ve actually upgraded to 4.13 now. I just need to do some testing and then on to 4.14!

Thanks,