If a project has built a dedicated server executable then it will fail when trying to convert the project from 4.7.6 to 4.8.
EDIT:
Following the steps on the wiki page for Dedicated Servers () in 4.8 will cause the project to fail compile completely. The <project>Server.Target.cs seems to cause issues in 4.8
1. Create new code project in 4.7.6 named DedicatedServerTest
2. Download attached zip file
3. Place "DedicatedServerTestServer.Target.cs" in the project's Source folder
4. Right click on the .uproject and select Generate Visual Studio project files
5. Open .sln and set Solution Configuration to DevelopmentServer
6. Build the project
7. Right click on the .uproject and select Switch Unreal Engine version
Result:
Engine version conversion fails due to UBT not containing definition for 'BuildingRocket'
Expected:
Projects with dedicated server set up can be converted from 4.7 to 4.8
Running D:/Builds/UnrealEngine-4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Projects/DedicatedServerTest/DedicatedServerTest.uproject" -game -engine -progress Discovering modules, targets and source code for game... Errors detected while compiling D:\Projects\DedicatedServerTest\Intermediate\Build\BuildRules\DedicatedServerTestProjectFileGeneratorModuleRules.dll: d:\Projects\DedicatedServerTest\Source\DedicatedServerTestServer.Target.cs(32,45) : error CS0117: 'UnrealBuildTool.UnrealBuildTool' does not contain a definition for 'BuildingRocket' UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 4.7.6, 4.8 |
Target Fix | 4.9 |
Created | Jun 23, 2015 |
---|---|
Resolved | Jul 8, 2015 |
Updated | Apr 27, 2018 |