RunUAT.bat ERROR, unable to cook project

This error only comes up when i package the project on my computer with the “WIP ocean project”.

here is the output log from when I package my project.

Any Ideas how to fix this?

Hi ,

Your failure seems to indicate a compiling problem. You have many errors such as this in your log:

MainFrameActions: Packaging (Windows
(64-bit)): UnrealBuildTool: P:\Unreal
Engine
4\OceanProject\Plugins\OceanPlugin\Source\OceanPlugin\Private\Terrain\TerrainGenerationWorker.cpp(31)
: warning C4996:
‘FRunnableThread::Create’: Function
deprecated. Use
FRunnableThread::Create without
bAutoDeleteSelf and MainFrameActions:
Packaging (Windows (64-bit)):
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.

Here is another AnswerHub thread where a user had the same issue; it can be used as a template for how to correct your issues.

There is also this: ERROR: UBT ERROR: Failed to produce item: P:\Unreal Engine 4\OceanProject\Plugins\OceanPlugin\Binaries\Win64\UE4-OceanPlugin.lib

Is OceanPlugin a custom plugin? It seems to be missing the library for it and is thus not compiled.

Good luck!