Problems with Packaging project in 4.7.6
Hello,
Impressive job with project.
I am not a coder so I donât think I can contribute with code to , maybe with 3D assets.
I have an with the plugin. It plays in the editor ⌠but it does not package on my 4.7 version. Is there a special way to install package ? Apart for the usual copy paste of the Plugin folder and then build the C++ project.
The error part of the Log looks like :
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: A:\PROJECTS\Unreal Projects\TheOld\Plugins\OceanPlugin\Source\OceanPlugin\Private\Terrain\TerrainGenerationWorker.cpp(31) : warning C4996: âFRunnableThread::Createâ: Function deprecated. Use FRunnableThread::Create without bAutoDeleteSelf
MainFrameActions: Packaging (Windows (64-bit)): and bAutoDeleteRunnable params and delete thread and runnable manually. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: A:\Epic Games\4.7\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(263) : see declaration of âFRunnableThread::Createâ
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: FlockFish.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: BuoyancyMovementComponent.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: BuoyancyComponent.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: FishState.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: FishFactory.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: OceanManager.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: [26/27] Link OceanPlugin-Win64-DebugGame-Static.lib
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: [27/27] Link TheOld-Win64-DebugGame.exe
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Creating library A:\PROJECTS\Unreal Projects\TheOld\Binaries\Win64\TheOld-Win64-DebugGame.lib and object A:\PROJECTS\Unreal Projects\TheOld\Binaries\Win64\TheOld-Win64-DebugGame.exp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol âvoid __cdecl EmptyLinkFunctionForStaticInitializationOceanPlugin(void)â (?EmptyLinkFunctionForStaticInitializationOceanPlugin@@YAXXZ) referenced in function âvoid __cdecl UELinkerFixups(void)â (?UELinkerFixups@@YAXXZ)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: A:\PROJECTS\Unreal Projects\TheOld\Binaries\Win64\TheOld-Win64-DebugGame.exe : fatal error LNK1120: 1 unresolved externals
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: A:\PROJECTS\Unreal Projects\TheOld\Binaries\Win64\TheOld-Win64-DebugGame.exe
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Cumulative action seconds (8 processors): 0,00 building projects, 65,63 compiling, 0,00 creating app bundles, 0,00 generating debug info, 3,14 linking, 0,00 other
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: UBT execution time: 45,46 seconds
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 45,6186092s to run UnrealBuildTool.exe, ExitCode=2
MainFrameActions: Packaging (Windows (64-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:2): A:\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe TheOld Win64 DebugGame âA:\PROJECTS\Unreal Projects\TheOld\TheOld.uprojectâ -noxge -rocket -NoHotReloadFromIDE. See
MainFrameActions: Packaging (Windows (64-bit)): logfile for details: âUnrealBuildTool.txtâ
MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Windows (64-bit)): Program.: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows (64-bit)): Program.: ERROR: Exception in AutomationTool: Command failed (Result:2): A:\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe TheOld Win64 DebugGame âA:\PROJECTS\Unreal Projects\TheOld\TheOld.uprojectâ -noxge -rocket -NoHotReloadFromIDE. See
MainFrameActions: Packaging (Windows (64-bit)): logfile for details: âUnrealBuildTool.txtâ
MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary
2 EnvVars)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable
1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at BuildCommand.Execute() MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List
1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc , Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.()
MainFrameActions: Packaging (Windows (64-bit)): Program.: ERROR: Command failed (Result:2): A:\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe TheOld Win64 DebugGame âA:\PROJECTS\Unreal Projects\TheOld\TheOld.uprojectâ -noxge -rocket -NoHotReloadFromIDE. See logfile for details: âUnrealBuildTool.txtâ
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): Program.: AutomationTool exiting with ExitCode=2
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log filesâŚ
MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED